Skip to content

Commit

Permalink
Merge pull request #1025 from briehl/jupyter-4.4.0
Browse files Browse the repository at this point in the history
Fix narrbase image build
  • Loading branch information
kkellerlbl committed Mar 16, 2017
2 parents 2cfb624 + d77d70e commit 0787843
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions narrbase-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 0787843

Please sign in to comment.