Add gym[box2d] to Dockerfile

main
Aurélien Geron 2016-10-12 21:52:58 +02:00
parent 9224775d79
commit 572b728b89
1 changed files with 4 additions and 0 deletions

View File

@ -24,12 +24,16 @@ USER main
# Python 2 # Python 2
RUN conda install -c jjhelmus tensorflow=0.10.0 RUN conda install -c jjhelmus tensorflow=0.10.0
RUN conda install -c conda-forge jupyter_contrib_nbextensions RUN conda install -c conda-forge jupyter_contrib_nbextensions
RUN conda install -c https://conda.anaconda.org/kne pybox2d
RUN jupyter contrib nbextension install --user RUN jupyter contrib nbextension install --user
RUN jupyter nbextension enable toc2/main RUN jupyter nbextension enable toc2/main
RUN pip install --upgrade gym RUN pip install --upgrade gym
RUN pip install --upgrade 'gym[atari]' RUN pip install --upgrade 'gym[atari]'
RUN pip install --upgrade 'gym[box2d]'
# Python 3 # Python 3
RUN conda install -n python3 -c jjhelmus tensorflow=0.10.0 RUN conda install -n python3 -c jjhelmus tensorflow=0.10.0
RUN conda install -n python3 -c https://conda.anaconda.org/kne pybox2d
RUN /bin/bash -c "source activate python3 && pip install --upgrade gym" RUN /bin/bash -c "source activate python3 && pip install --upgrade gym"
RUN /bin/bash -c "source activate python3 && pip install --upgrade 'gym[atari]'" RUN /bin/bash -c "source activate python3 && pip install --upgrade 'gym[atari]'"
RUN /bin/bash -c "source activate python3 && pip install --upgrade 'gym[box2d]'"