Show More
@@ -1,66 +1,66 b'' | |||
|
1 | 1 | # Installs IPython from the current branch |
|
2 | 2 | # Another Docker container should build from this one to get services like the notebook |
|
3 | 3 | |
|
4 | 4 | FROM ubuntu:14.04 |
|
5 | 5 | |
|
6 | 6 | MAINTAINER IPython Project <ipython-dev@scipy.org> |
|
7 | 7 | |
|
8 | 8 | ENV DEBIAN_FRONTEND noninteractive |
|
9 | 9 | |
|
10 | 10 | # Not essential, but wise to set the lang |
|
11 | 11 | # Note: Users with other languages should set this in their derivative image |
|
12 | 12 | RUN apt-get update && apt-get install -y language-pack-en |
|
13 | 13 | ENV LANGUAGE en_US.UTF-8 |
|
14 | 14 | ENV LANG en_US.UTF-8 |
|
15 | 15 | ENV LC_ALL en_US.UTF-8 |
|
16 | 16 | |
|
17 | 17 | RUN locale-gen en_US.UTF-8 |
|
18 | 18 | RUN dpkg-reconfigure locales |
|
19 | 19 | |
|
20 | 20 | # Python binary dependencies, developer tools |
|
21 | 21 | RUN apt-get update && apt-get install -y -q \ |
|
22 | 22 | build-essential \ |
|
23 | 23 | make \ |
|
24 | 24 | gcc \ |
|
25 | 25 | zlib1g-dev \ |
|
26 | 26 | git \ |
|
27 | 27 | python \ |
|
28 | 28 | python-dev \ |
|
29 | 29 | python-pip \ |
|
30 | 30 | python3-dev \ |
|
31 | 31 | python3-pip \ |
|
32 | 32 | python-sphinx \ |
|
33 | 33 | python3-sphinx \ |
|
34 | 34 | libzmq3-dev \ |
|
35 | 35 | sqlite3 \ |
|
36 | 36 | libsqlite3-dev \ |
|
37 | 37 | pandoc \ |
|
38 | 38 | libcurl4-openssl-dev \ |
|
39 | 39 | nodejs \ |
|
40 | 40 | nodejs-legacy \ |
|
41 | 41 | npm |
|
42 | 42 | |
|
43 | 43 | # In order to build from source, need less |
|
44 | RUN npm install -g less | |
|
44 | RUN npm install -g less@1.7.5 | |
|
45 | 45 | |
|
46 | 46 | RUN pip install invoke |
|
47 | 47 | |
|
48 | 48 | RUN mkdir -p /srv/ |
|
49 | 49 | WORKDIR /srv/ |
|
50 | 50 | ADD . /srv/ipython |
|
51 | 51 | WORKDIR /srv/ipython/ |
|
52 | 52 | RUN chmod -R +rX /srv/ipython |
|
53 | 53 | |
|
54 | 54 | # .[all] only works with -e, so use file://path#egg |
|
55 | 55 | # Can't use -e because ipython2 and ipython3 will clobber each other |
|
56 | 56 | RUN pip2 install file:///srv/ipython#egg=ipython[all] |
|
57 | 57 | RUN pip3 install file:///srv/ipython#egg=ipython[all] |
|
58 | 58 | |
|
59 | 59 | # install kernels |
|
60 | 60 | RUN python2 -m IPython kernelspec install-self --system |
|
61 | 61 | RUN python3 -m IPython kernelspec install-self --system |
|
62 | 62 | |
|
63 | 63 | WORKDIR /tmp/ |
|
64 | 64 | |
|
65 | 65 | RUN iptest2 |
|
66 | 66 | RUN iptest3 |
General Comments 0
You need to be logged in to leave comments.
Login now