Files
Gymnasium/Dockerfile

38 lines
755 B
Docker
Raw Normal View History

2016-04-27 08:00:58 -07:00
# A Dockerfile that sets up a full Gym install
FROM ubuntu:14.04
RUN apt-get update \
2016-08-10 16:12:51 -07:00
&& apt-get install -y libav-tools \
2016-04-27 08:00:58 -07:00
python-numpy \
python-scipy \
python-pyglet \
python-setuptools \
libpq-dev \
libjpeg-dev \
curl \
cmake \
2016-08-10 16:12:51 -07:00
swig \
python-opengl \
libboost-all-dev \
libsdl2-dev \
wget \
unzip \
git \
xpra \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
&& easy_install pip
2016-04-27 08:00:58 -07:00
WORKDIR /usr/local/gym
RUN mkdir -p gym && touch gym/__init__.py
2016-04-27 08:00:58 -07:00
COPY ./gym/version.py ./gym
COPY ./requirements.txt .
COPY ./setup.py .
2016-08-10 16:12:51 -07:00
RUN pip install -e .[all]
2016-04-27 08:00:58 -07:00
# Finally, upload our actual code!
COPY . /usr/local/gym
WORKDIR /root
ENTRYPOINT ["/usr/local/gym/bin/docker_entrypoint"]