mirror of
https://github.com/wassname/ray.git
synced 2026-08-06 13:31:10 +08:00
updated Docker files (#171)
* updated Docker files * single Docker RUN for apt-get installs and cleanup * stylistic cleanup
This commit is contained in:
committed by
Robert Nishihara
parent
1616426ccf
commit
8bb87a4f6b
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user