From cb005e916c256759eed9a10b902f63b4eb2b6bb8 Mon Sep 17 00:00:00 2001 From: MinRK Date: Thu, 25 Sep 2014 16:03:59 -0700 Subject: [PATCH] run iptest in Dockerfile and install sphinx with apt, since it's super slow because of 2to3 --- Dockerfile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index d511df1f5..445eba2d0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,6 +5,8 @@ FROM ubuntu:14.04 MAINTAINER IPython Project +ENV DEBIAN_FRONTEND noninteractive + # Make sure apt is up to date RUN apt-get update RUN apt-get upgrade -y @@ -27,7 +29,7 @@ RUN apt-get install -y -q build-essential make gcc zlib1g-dev git && \ # In order to build from source, need less RUN npm install -g less -RUN apt-get -y install fabric +RUN apt-get install -y -q fabric python-sphinx python3-sphinx RUN mkdir -p /srv/ WORKDIR /srv/ @@ -37,10 +39,14 @@ RUN chmod -R +rX /srv/ipython # .[all] only works with -e, so use file://path#egg # Can't use -e because ipython2 and ipython3 will clobber each other -RUN pip2 install --upgrade file:///srv/ipython#egg=ipython[all] -RUN pip3 install --upgrade file:///srv/ipython#egg=ipython[all] +RUN pip2 install file:///srv/ipython#egg=ipython[all] +RUN pip3 install file:///srv/ipython#egg=ipython[all] # install kernels RUN python2 -m IPython kernelspec install-self --system RUN python3 -m IPython kernelspec install-self --system +WORKDIR /tmp/ + +RUN iptest2 +RUN iptest3