Adds self-test while building Docker image

This commit is contained in:
Frank Sachsenheim 2015-10-05 21:26:54 +02:00
parent 7524fb8786
commit 46281b9216

View File

@ -55,7 +55,13 @@ RUN ln -s /usr/src/jupyter-notebook/scripts/lxc-launcher.sh /launch.sh \
&& rm -rf /var/lib/apt/lists/* \
\
&& python2 -m ipykernel.kernelspec \
&& python3 -m ipykernel.kernelspec
&& python3 -m ipykernel.kernelspec \
\
&& pip2 install --no-cache-dir mock nose requests testpath \
&& pip3 install --no-cache-dir nose requests testpath \
&& iptest2 && iptest3 \
&& pip2 uninstall --no-cache-dir -y funcsigs mock nose pbr requests six testpath \
&& pip3 uninstall --no-cache-dir -y nose requests testpath
VOLUME /notebooks
WORKDIR /notebooks