Show More
@@ -1,20 +1,24 b'' | |||||
1 | # Just installs IPython from master |
|
1 | # Just installs IPython from master | |
2 | # Another Docker container should build from this one to see the Notebook itself |
|
2 | # Another Docker container should build from this one to see the Notebook itself | |
3 |
|
3 | |||
4 | FROM ipython/scipystack |
|
4 | FROM ipython/scipystack | |
5 |
|
5 | |||
6 | MAINTAINER IPython Project <ipython-dev@scipy.org> |
|
6 | MAINTAINER IPython Project <ipython-dev@scipy.org> | |
7 |
|
7 | |||
|
8 | RUN apt-get -y install fabric | |||
|
9 | ||||
8 | RUN mkdir -p /srv/ |
|
10 | RUN mkdir -p /srv/ | |
9 | WORKDIR /srv/ |
|
11 | WORKDIR /srv/ | |
10 | ADD . /srv/ipython |
|
12 | ADD . /srv/ipython | |
11 | WORKDIR /srv/ipython/ |
|
13 | WORKDIR /srv/ipython/ | |
|
14 | RUN chmod -R +rX /srv/ipython | |||
12 |
|
15 | |||
13 | # Installing certain dependencies directly |
|
16 | # .[all] only works with -e, so use file://path#egg | |
14 | RUN pip2 install fabric |
|
|||
15 | RUN pip3 install jsonschema jsonpointer fabric |
|
|||
16 |
|
||||
17 | # .[all] only works with -e |
|
|||
18 | # Can't use -e because ipython2 and ipython3 will clobber each other |
|
17 | # Can't use -e because ipython2 and ipython3 will clobber each other | |
19 | RUN pip2 install . |
|
18 | RUN pip2 install --upgrade file:///srv/ipython#egg=ipython[all] | |
20 | RUN pip3 install . |
|
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