##// END OF EJS Templates
use file://$PWD#egg=ipython[all] in Dockerfile...
use file://$PWD#egg=ipython[all] in Dockerfile so we can install ipython[all] with pip. Because .[all] doesn't work for whatever reason. Removes need to install other dependencies with pip beforehand.

File last commit:

r17984:2b88a1d5
r17984:2b88a1d5
Show More
Dockerfile
24 lines | 712 B | text/x-dockerfile-config | DockerLexer
# Just installs IPython from master
# Another Docker container should build from this one to see the Notebook itself
FROM ipython/scipystack
MAINTAINER IPython Project <ipython-dev@scipy.org>
RUN apt-get -y install fabric
RUN mkdir -p /srv/
WORKDIR /srv/
ADD . /srv/ipython
WORKDIR /srv/ipython/
RUN chmod -R +rX /srv/ipython
# .[all] only works with -e, so use file://path#egg
# Can't use -e because ipython2 and ipython3 will clobber each other
RUN pip2 install --upgrade file:///srv/ipython#egg=ipython[all]
RUN pip3 install --upgrade file:///srv/ipython#egg=ipython[all]
# install kernels
RUN python2 -m IPython kernelspec install-self --system
RUN python3 -m IPython kernelspec install-self --system