-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathDockerfile
101 lines (82 loc) · 2.62 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
FROM nvidia/cuda:11.7.1-devel-ubuntu20.04
ENV DEBIAN_FRONTEND=noninteractive
WORKDIR /workspace
RUN apt-get update && apt-get install -y \
build-essential \
cmake \
curl \
g++ \
wget \
bzip2 \
git \
vim \
tmux \
git \
unzip \
libosmesa6-dev \
libgl1-mesa-glx \
libglfw3 \
patchelf \
libglu1-mesa \
libxext6 \
libxtst6 \
libxrender1 \
libxi6
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
RUN curl -o ~/miniconda.sh -O https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh && \
chmod +x ~/miniconda.sh && \
bash ~/miniconda.sh -b -p /opt/conda && \
rm ~/miniconda.sh
RUN apt-get update && \
apt-get install -y mpich && \
/opt/conda/bin/conda create -n edt python=3.7 && \
/opt/conda/bin/conda init bash
RUN /opt/conda/envs/edt/bin/pip3 install pybullet==3.0.4 \
packaging==19.2 \
matplotlib==3.1.1 \
opencv-python==4.1.2.30 \
meshcat==0.0.18 \
transformations==2020.1.1 \
scikit-image==0.17.2 \
gputil==1.4.0 \
circle-fit==0.1.3 \
ipython \
torch \
torchvision \
torchaudio \
wandb
RUN apt-get install -y \
libglib2.0-0 \
libsm6 \
libxrender1 \
libfontconfig1 \
libcudnn8 \
libcudnn8-dev
RUN /opt/conda/envs/edt/bin/pip install protobuf==3.20.* \
sympy
RUN mkdir /root/.mujoco
COPY mujoco210 /root/.mujoco/mujoco210
RUN /opt/conda/envs/edt/bin/pip3 install -U 'mujoco-py<2.2,>=2.1' \
gym
ENV PYTHONPATH=$PYTHONPATH:/workspace/
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/root/.mujoco/mujoco210/bin
RUN /opt/conda/envs/edt/bin/pip install \
absl-py==0.12.0 \
gin-config==0.4.0 \
matplotlib==3.4.3 \
mediapy==1.0.3 \
opencv-python==4.5.3.56 \
pybullet==3.1.6 \
scipy==1.7.1 \
tensorflow==2.6.0 \
keras==2.6.0 \
tf-agents==0.11.0rc0 \
tqdm==4.62.2 \
gym==0.23.0
RUN /opt/conda/envs/edt/bin/pip install -U numpy
RUN /opt/conda/envs/edt/bin/pip install \
d4rl \
git+https://github.com/aravindr93/mjrl@master#egg=mjrl \
timm \
'cython<3' \
omegaconf