Skip to content

Commit

Permalink
Add OpenAI gym
Browse files Browse the repository at this point in the history
  • Loading branch information
ageron committed Oct 6, 2016
1 parent 6496cc6 commit 7bbc504
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ 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

Expand All @@ -10,6 +11,8 @@ 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 gym gym[atari]

# Python 3
RUN conda install -n python3 -c jjhelmus tensorflow=0.10.0
RUN /bin/bash -c "source activate python3 && pip install gym gym[atari]"
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
gym
jupyter
matplotlib
numexpr
Expand Down

0 comments on commit 7bbc504

Please sign in to comment.