Add Dockerfile to have TensorFlow on both python 2 and python 3 (crossing my fingers)

main
Aurélien Geron 2016-09-27 11:11:39 +02:00
parent a1da2dbee6
commit 92dd0a7556
1 changed files with 16 additions and 0 deletions

16
Dockerfile Normal file
View File

@ -0,0 +1,16 @@
FROM andrewosh/binder-base
USER root
RUN apt-get update
USER main
# Python 2
RUN conda install jupyter matplotlib numexpr numpy pandas Pillow protobuf psutil scikit-learn scipy sympy wheel
RUN conda install -c jjhelmus tensorflow=0.10.0
RUN conda install https://github.com/ipython-contrib/IPython-notebook-extensions/archive/master.zip
# Python 3
RUN conda install -n python3 jupyter matplotlib numexpr numpy pandas Pillow protobuf psutil scikit-learn scipy sympy wheel
RUN conda install -n python3 -c jjhelmus tensorflow=0.10.0
RUN conda install -n python 3 https://github.com/ipython-contrib/IPython-notebook-extensions/archive/master.zip