From 7bb9e462b91804f5a8796d40c01a5cfd1987d575 Mon Sep 17 00:00:00 2001 From: William Petit Date: Fri, 24 Aug 2018 12:29:26 +0200 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20NodeJS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- containers/hub/Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/containers/hub/Dockerfile b/containers/hub/Dockerfile index 1dd576c..559bb77 100644 --- a/containers/hub/Dockerfile +++ b/containers/hub/Dockerfile @@ -9,14 +9,14 @@ ARG TUTOR_USERNAME=tutor ARG TUTOR_PASSWORD=tutor RUN apt-get update -y \ - && apt-get install -y curl ca-certificates \ - && curl -sL https://deb.nodesource.com/setup_6.x | bash - \ + && apt-get install -y curl ca-certificates gnupg2 \ + && curl -sL https://deb.nodesource.com/setup_8.x | bash - \ && apt-get install -y nodejs libzmq3-dev mcrypt RUN pip install jupyter -RUN npm install -g ijavascript \ - && ijs --ijs-install=global +RUN npm install --unsafe-perm -g ijavascript &&\ + ijs --ijs-install=global RUN useradd -m $TUTOR_USERNAME \ && echo "$TUTOR_USERNAME:$TUTOR_PASSWORD" | chpasswd