-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathDockerfile
executable file
·45 lines (39 loc) · 1 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
# ===========
# base images
# ===========
FROM nvcr.io/nvidia/pytorch:19.04-py3
# ===============
# system packages
# ===============
RUN apt-get update
RUN apt-get install -y bash-completion \
emacs \
ffmpeg \
git \
graphviz \
htop \
libopenexr-dev \
openssh-server \
rsync \
wget \
curl
# ===========
# latest apex
# ===========
RUN pip uninstall -y apex
RUN git clone https://github.com/NVIDIA/apex.git ~/apex && \
cd ~/apex && \
pip install -v --no-cache-dir --global-option="--cpp_ext" --global-option="--cuda_ext" .
# ============
# pip packages
# ============
RUN pip install --upgrade pip
RUN pip install --upgrade ffmpeg==1.4
RUN pip install --upgrade imageio==2.6.1
RUN pip install --upgrade natsort==6.2.0
RUN pip install --upgrade numpy==1.18.1
RUN pip install --upgrade pillow==6.1
RUN pip install --upgrade scikit-image==0.16.2
RUN pip install --upgrade tensorboardX==2.0
RUN pip install --upgrade torchvision==0.4.2
RUN pip install --upgrade tqdm==4.41.1