2016-09-27 11:11:39 +02:00
|
|
|
FROM andrewosh/binder-base
|
|
|
|
|
|
|
|
USER root
|
|
|
|
RUN apt-get update
|
2016-10-06 20:24:25 +02:00
|
|
|
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
|
2016-09-27 11:11:39 +02:00
|
|
|
|
|
|
|
USER main
|
|
|
|
|
|
|
|
# Python 2
|
|
|
|
RUN conda install -c jjhelmus tensorflow=0.10.0
|
2016-09-27 11:33:10 +02:00
|
|
|
RUN conda install -c conda-forge jupyter_contrib_nbextensions
|
2016-09-27 12:06:59 +02:00
|
|
|
RUN jupyter contrib nbextension install --user
|
2016-09-27 13:08:15 +02:00
|
|
|
RUN jupyter nbextension enable toc2/main
|
2016-10-07 11:20:52 +02:00
|
|
|
RUN pip install --upgrade gym
|
|
|
|
RUN pip install --upgrade 'gym[atari]'
|
2016-09-27 11:11:39 +02:00
|
|
|
|
|
|
|
# Python 3
|
|
|
|
RUN conda install -n python3 -c jjhelmus tensorflow=0.10.0
|
2016-10-07 11:20:52 +02:00
|
|
|
RUN /bin/bash -c "source activate python3 && pip install --upgrade gym"
|
|
|
|
RUN /bin/bash -c "source activate python3 && pip install --upgrade 'gym[atari]'"
|