diff --git a/narrbase-image/Dockerfile b/narrbase-image/Dockerfile index 09c45e8b36..e9c8b6db3a 100644 --- a/narrbase-image/Dockerfile +++ b/narrbase-image/Dockerfile @@ -11,10 +11,14 @@ ADD https://github.com/jupyter/notebook/archive/${JUPYTER_VERSION}.tar.gz /kb/in RUN \ curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash - && \ - apt-get install -y nodejs + apt-get install -y nodejs && \ + pip install --upgrade pip && \ + pip install setuptools==33.1.1 # https://github.com/pypa/setuptools/issues/942 # Install Jupyter Notebook RUN cd /kb/installers/jupyter_notebook && tar -xvf notebook-${JUPYTER_VERSION}.tar.gz && cd notebook-${JUPYTER_VERSION} && pip install --pre -e . # Install IPywidgets -RUN pip install --upgrade six && pip install ipywidgets==${IPYWIDGETS_VERSION} && jupyter nbextension enable --py widgetsnbextension +RUN pip install --upgrade six +RUN pip install ipywidgets==${IPYWIDGETS_VERSION} +RUN jupyter nbextension enable --py widgetsnbextension