##// END OF EJS Templates
handle missing 'text/plain' in displayhook...
handle missing 'text/plain' in displayhook avoids KeyError when repr fails

File last commit:

r18012:ee07fd16
r18026:6ee28e22
Show More
Dockerfile
52 lines | 1.5 KiB | text/x-dockerfile-config | DockerLexer
Kyle Kelley
Make this a solid, minimal base image....
r17988 # Installs IPython from the current branch
# Another Docker container should build from this one to get services like the notebook
Kyle Kelley
Instructions inside the Dockerfile
r17970
Kyle Kelley
Make this a solid, minimal base image....
r17988 FROM ubuntu:14.04
Kyle Kelley
Dockerfile to track the latest master
r17968
MAINTAINER IPython Project <ipython-dev@scipy.org>
MinRK
run iptest in Dockerfile...
r18012 ENV DEBIAN_FRONTEND noninteractive
Kyle Kelley
Make this a solid, minimal base image....
r17988 # Make sure apt is up to date
RUN apt-get update
RUN apt-get upgrade -y
# Not essential, but wise to set the lang
# Note: Users with other languages should set this in their derivative image
RUN apt-get install -y language-pack-en
ENV LANGUAGE en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LC_ALL en_US.UTF-8
RUN locale-gen en_US.UTF-8
RUN dpkg-reconfigure locales
# Python binary dependencies, developer tools
RUN apt-get install -y -q build-essential make gcc zlib1g-dev git && \
apt-get install -y -q python python-dev python-pip python3-dev python3-pip && \
apt-get install -y -q libzmq3-dev sqlite3 libsqlite3-dev pandoc libcurl4-openssl-dev nodejs nodejs-legacy npm
# In order to build from source, need less
RUN npm install -g less
MinRK
run iptest in Dockerfile...
r18012 RUN apt-get install -y -q fabric python-sphinx python3-sphinx
MinRK
use file://$PWD#egg=ipython[all] in Dockerfile...
r17984
Kyle Kelley
/srv/ was already created, just ensure its there
r17974 RUN mkdir -p /srv/
Kyle Kelley
Clone ipython/ipython directly
r17973 WORKDIR /srv/
Kyle Kelley
Switch back to ADD
r17979 ADD . /srv/ipython
Kyle Kelley
Dockerfile to track the latest master
r17968 WORKDIR /srv/ipython/
MinRK
use file://$PWD#egg=ipython[all] in Dockerfile...
r17984 RUN chmod -R +rX /srv/ipython
Kyle Kelley
Dockerfile to track the latest master
r17968
MinRK
use file://$PWD#egg=ipython[all] in Dockerfile...
r17984 # .[all] only works with -e, so use file://path#egg
Kyle Kelley
Submodule updating, comments
r17971 # Can't use -e because ipython2 and ipython3 will clobber each other
MinRK
run iptest in Dockerfile...
r18012 RUN pip2 install file:///srv/ipython#egg=ipython[all]
RUN pip3 install file:///srv/ipython#egg=ipython[all]
MinRK
use file://$PWD#egg=ipython[all] in Dockerfile...
r17984
# install kernels
RUN python2 -m IPython kernelspec install-self --system
RUN python3 -m IPython kernelspec install-self --system
MinRK
run iptest in Dockerfile...
r18012 WORKDIR /tmp/
RUN iptest2
RUN iptest3