Show More
@@ -5,6 +5,8 b' FROM ubuntu:14.04' | |||||
5 |
|
5 | |||
6 | MAINTAINER IPython Project <ipython-dev@scipy.org> |
|
6 | MAINTAINER IPython Project <ipython-dev@scipy.org> | |
7 |
|
7 | |||
|
8 | ENV DEBIAN_FRONTEND noninteractive | |||
|
9 | ||||
8 | # Make sure apt is up to date |
|
10 | # Make sure apt is up to date | |
9 | RUN apt-get update |
|
11 | RUN apt-get update | |
10 | RUN apt-get upgrade -y |
|
12 | RUN apt-get upgrade -y | |
@@ -27,7 +29,7 b' RUN apt-get install -y -q build-essential make gcc zlib1g-dev git && \\' | |||||
27 | # In order to build from source, need less |
|
29 | # In order to build from source, need less | |
28 | RUN npm install -g less |
|
30 | RUN npm install -g less | |
29 |
|
31 | |||
30 | RUN apt-get -y install fabric |
|
32 | RUN apt-get install -y -q fabric python-sphinx python3-sphinx | |
31 |
|
33 | |||
32 | RUN mkdir -p /srv/ |
|
34 | RUN mkdir -p /srv/ | |
33 | WORKDIR /srv/ |
|
35 | WORKDIR /srv/ | |
@@ -37,10 +39,14 b' RUN chmod -R +rX /srv/ipython' | |||||
37 |
|
39 | |||
38 | # .[all] only works with -e, so use file://path#egg |
|
40 | # .[all] only works with -e, so use file://path#egg | |
39 | # Can't use -e because ipython2 and ipython3 will clobber each other |
|
41 | # Can't use -e because ipython2 and ipython3 will clobber each other | |
40 |
RUN pip2 install |
|
42 | RUN pip2 install file:///srv/ipython#egg=ipython[all] | |
41 |
RUN pip3 install |
|
43 | RUN pip3 install file:///srv/ipython#egg=ipython[all] | |
42 |
|
44 | |||
43 | # install kernels |
|
45 | # install kernels | |
44 | RUN python2 -m IPython kernelspec install-self --system |
|
46 | RUN python2 -m IPython kernelspec install-self --system | |
45 | RUN python3 -m IPython kernelspec install-self --system |
|
47 | RUN python3 -m IPython kernelspec install-self --system | |
46 |
|
48 | |||
|
49 | WORKDIR /tmp/ | |||
|
50 | ||||
|
51 | RUN iptest2 | |||
|
52 | RUN iptest3 |
General Comments 0
You need to be logged in to leave comments.
Login now