Mise à jour de NodeJS

This commit is contained in:
wpetit 2018-08-24 12:29:26 +02:00
parent 3d645a87b4
commit 7bb9e462b9
1 changed files with 4 additions and 4 deletions

View File

@ -9,14 +9,14 @@ ARG TUTOR_USERNAME=tutor
ARG TUTOR_PASSWORD=tutor ARG TUTOR_PASSWORD=tutor
RUN apt-get update -y \ RUN apt-get update -y \
&& apt-get install -y curl ca-certificates \ && apt-get install -y curl ca-certificates gnupg2 \
&& curl -sL https://deb.nodesource.com/setup_6.x | bash - \ && curl -sL https://deb.nodesource.com/setup_8.x | bash - \
&& apt-get install -y nodejs libzmq3-dev mcrypt && apt-get install -y nodejs libzmq3-dev mcrypt
RUN pip install jupyter RUN pip install jupyter
RUN npm install -g ijavascript \ RUN npm install --unsafe-perm -g ijavascript &&\
&& ijs --ijs-install=global ijs --ijs-install=global
RUN useradd -m $TUTOR_USERNAME \ RUN useradd -m $TUTOR_USERNAME \
&& echo "$TUTOR_USERNAME:$TUTOR_PASSWORD" | chpasswd && echo "$TUTOR_USERNAME:$TUTOR_PASSWORD" | chpasswd