Show More
@@ -5,16 +5,20 b' FROM ipython/scipystack' | |||
|
5 | 5 | |
|
6 | 6 | MAINTAINER IPython Project <ipython-dev@scipy.org> |
|
7 | 7 | |
|
8 | RUN apt-get -y install fabric | |
|
9 | ||
|
8 | 10 | RUN mkdir -p /srv/ |
|
9 | 11 | WORKDIR /srv/ |
|
10 | 12 | ADD . /srv/ipython |
|
11 | 13 | WORKDIR /srv/ipython/ |
|
14 | RUN chmod -R +rX /srv/ipython | |
|
12 | 15 | |
|
13 | # Installing certain dependencies directly | |
|
14 | RUN pip2 install fabric | |
|
15 | RUN pip3 install jsonschema jsonpointer fabric | |
|
16 | ||
|
17 | # .[all] only works with -e | |
|
16 | # .[all] only works with -e, so use file://path#egg | |
|
18 | 17 | # Can't use -e because ipython2 and ipython3 will clobber each other |
|
19 | RUN pip2 install . | |
|
20 | RUN pip3 install . | |
|
18 | RUN pip2 install --upgrade file:///srv/ipython#egg=ipython[all] | |
|
19 | RUN pip3 install --upgrade file:///srv/ipython#egg=ipython[all] | |
|
20 | ||
|
21 | # install kernels | |
|
22 | RUN python2 -m IPython kernelspec install-self --system | |
|
23 | RUN python3 -m IPython kernelspec install-self --system | |
|
24 |
General Comments 0
You need to be logged in to leave comments.
Login now