forked from thuml/predrnn-pytorch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
38 lines (38 loc) · 1.09 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
FROM nvidia/cuda:11.6.1-devel-ubuntu18.04
USER root
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get install -y \
build-essential \
libbz2-dev \
libdb-dev \
libreadline-dev \
libffi-dev \
libgdbm-dev \
liblzma-dev \
libncursesw5-dev \
libsqlite3-dev \
libssl-dev \
zlib1g-dev \
uuid-dev \
tk-dev &&\
apt-get update &&\
apt-get install -y git &&\
apt-get install -y --allow-unauthenticated graphviz &&\
apt install -y curl
RUN curl -OL https://www.python.org/ftp/python/3.9.10/Python-3.9.10.tar.xz
RUN tar xJf Python-3.9.10.tar.xz
RUN cd Python-3.9.10 && ./configure && make && make install
RUN pip3 install -U pip
RUN pip3 install numpy
RUN pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu116
RUN pip3 install tensorflow
RUN pip3 install opencv-python
RUN pip3 install nvidia-ml-py3
RUN pip3 install lpips
RUN pip3 install scikit-image
RUN pip3 install tqdm
RUN pip3 install matplotlib
RUN pip3 install sklearn
ENV NVIDIA_VISIBLE_DEVICES all
ENV NVIDIA_DRIVER_CAPABILITIES all