-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
37 lines (33 loc) · 985 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
FROM nvidia/cuda:11.8.0-cudnn8-runtime-ubuntu22.04
# install Ubuntu dependencies
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get -y install \
build-essential \
cmake \
curl \
ffmpeg \
git \
libpython3-dev \
libomp-dev \
libopenblas-dev \
libblas-dev \
python3-dev \
python3-opengl \
python3-pip \
wget \
xvfb && \
apt-get clean && rm -rf /var/lib/apt/lists/*
# creates symoblic link from python to python3
RUN ln -s /usr/bin/python3 /usr/bin/python
# install python dependencies for CleanRL and MuJoCo
RUN git clone https://github.com/vwxyzjn/cleanrl.git && \
pip install -r cleanrl/requirements/requirements-mujoco.txt
# install additional python dependencies
RUN pip install \
ffmpeg \
imageio-ffmpeg \
typing_extensions \
gymnasium==0.29.1 \
stable-baselines3==2.4.0 \
torch --extra-index-url https://download.pytorch.org/whl/cu118