From 25da041cf4d1e585318b943a81611c2d72eb53ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Geron?= Date: Sat, 8 Oct 2016 21:45:47 +0200 Subject: [PATCH] Rollback Dockerfile, change failed for some reason --- Dockerfile | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 533ef80..27f24a7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1 +1,20 @@ -FROM ageron/handson-ml-base +FROM andrewosh/binder-base + +USER root +RUN apt-get update +RUN apt-get install -y python-numpy python-dev cmake zlib1g-dev libjpeg-dev xvfb libav-tools xorg-dev python-opengl libboost-all-dev libsdl2-dev swig + +USER main + +# Python 2 +RUN conda install -c jjhelmus tensorflow=0.10.0 +RUN conda install -c conda-forge jupyter_contrib_nbextensions +RUN jupyter contrib nbextension install --user +RUN jupyter nbextension enable toc2/main +RUN pip install --upgrade gym +RUN pip install --upgrade 'gym[atari]' + +# Python 3 +RUN conda install -n python3 -c jjhelmus tensorflow=0.10.0 +RUN /bin/bash -c "source activate python3 && pip install --upgrade gym" +RUN /bin/bash -c "source activate python3 && pip install --upgrade 'gym[atari]'"