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