updated Docker files (#171)

* updated Docker files

* single Docker RUN for apt-get installs and cleanup

* stylistic cleanup
This commit is contained in:
Johann Schleier-Smith
2016-12-31 17:21:33 -08:00
committed by Robert Nishihara
parent 1616426ccf
commit 8bb87a4f6b
7 changed files with 33 additions and 82 deletions
+4 -12
View File
@@ -1,14 +1,6 @@
# Bulding on top of deploy image, this Dockerfile adds libraries needed
# for running examples.
# The examples Docker image adds dependencies needed to run the examples
FROM ray-project/ray:deploy
# Tensorflow
RUN pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.9.0-cp27-none-linux_x86_64.whl
# SciPy
RUN pip install scipy
# Gym
RUN sudo apt-get -y install zlib1g-dev libjpeg-dev xvfb libav-tools xorg-dev python-opengl libsdl2-dev swig wget
FROM ray-project/deploy
RUN conda install -y -c conda-forge tensorflow
RUN apt-get install zlib1g-dev
RUN pip install gym[atari]