mirror of
https://github.com/Farama-Foundation/Gymnasium.git
synced 2025-08-23 15:04:20 +00:00
45 lines
1.1 KiB
Plaintext
45 lines
1.1 KiB
Plaintext
![]() |
# A Dockerfile that sets up a full Gym install with test dependencies
|
||
|
FROM ubuntu:14.04
|
||
|
# Note that latest version of mujoco-py, 1.5, does not play nicely with ubuntu 14.04 -
|
||
|
# requires patchelf system package not available on 14.04
|
||
|
|
||
|
# Install keyboard-configuration separately to avoid travis hanging waiting for keyboard selection
|
||
|
RUN \
|
||
|
apt-get -y update && \
|
||
|
apt-get install -y keyboard-configuration && \
|
||
|
|
||
|
apt-get install -y \
|
||
|
python-setuptools \
|
||
|
python-pip \
|
||
|
python3-dev \
|
||
|
libjpeg-dev \
|
||
|
cmake \
|
||
|
swig \
|
||
|
python-pyglet \
|
||
|
python3-opengl \
|
||
|
libboost-all-dev \
|
||
|
libsdl2-2.0.0 \
|
||
|
libsdl2-dev \
|
||
|
libglu1-mesa \
|
||
|
libglu1-mesa-dev \
|
||
|
libgles2-mesa-dev \
|
||
|
xvfb \
|
||
|
libav-tools \
|
||
|
freeglut3 \
|
||
|
wget \
|
||
|
unzip && \
|
||
|
|
||
|
apt-get clean && \
|
||
|
rm -rf /var/lib/apt/lists/* && \
|
||
|
pip install tox
|
||
|
|
||
|
|
||
|
# install dependencies
|
||
|
COPY . /usr/local/gym/
|
||
|
RUN cd /usr/local/gym && \
|
||
|
tox --notest
|
||
|
|
||
|
WORKDIR /usr/local/gym/
|
||
|
ENTRYPOINT ["/usr/local/gym/bin/docker_entrypoint"]
|
||
|
CMD ["tox"]
|