diff --git a/Dockerfile b/Dockerfile index 94bf3f745b..b5db5a3b43 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,7 +30,7 @@ RUN REPO=http://cdn-fastly.deb.debian.org && \ echo "deb $REPO/debian jessie main\ndeb $REPO/debian-security jessie/updates main" > /etc/apt/sources.list && \ apt-get -y update && \ apt-get -y upgrade && \ - apt-get -y install npm nodejs nodejs-legacy wget locales git &&\ + apt-get -y install wget locales git bzip2 &&\ /usr/sbin/update-locale LANG=C.UTF-8 && \ locale-gen C.UTF-8 && \ apt-get remove -y locales && \ @@ -38,18 +38,15 @@ RUN REPO=http://cdn-fastly.deb.debian.org && \ rm -rf /var/lib/apt/lists/* ENV LANG C.UTF-8 -# install Python with conda -RUN wget -q https://repo.continuum.io/miniconda/Miniconda3-4.0.5-Linux-x86_64.sh -O /tmp/miniconda.sh && \ - echo 'a7bcd0425d8b6688753946b59681572f63c2241aed77bf0ec6de4c5edc5ceeac */tmp/miniconda.sh' | shasum -a 256 -c - && \ +# install Python + NodeJS with conda +RUN wget -q https://repo.continuum.io/miniconda/Miniconda3-4.2.12-Linux-x86_64.sh -O /tmp/miniconda.sh && \ + echo 'd0c7c71cc5659e54ab51f2005a8d96f3 */tmp/miniconda.sh' | md5sum -c - && \ bash /tmp/miniconda.sh -f -b -p /opt/conda && \ - /opt/conda/bin/conda install --yes python=3.5 sqlalchemy tornado jinja2 traitlets requests pip && \ + /opt/conda/bin/conda install --yes -c conda-forge python=3.5 sqlalchemy tornado jinja2 traitlets requests pip nodejs configurable-http-proxy && \ /opt/conda/bin/pip install --upgrade pip && \ rm /tmp/miniconda.sh ENV PATH=/opt/conda/bin:$PATH -# install js dependencies -RUN npm install -g configurable-http-proxy && rm -rf ~/.npm - ADD . /src/jupyterhub WORKDIR /src/jupyterhub