forked from pengzhou1108/RGB-N
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
38 lines (30 loc) · 998 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
38
FROM ubuntu:16.04
FROM nvidia/cuda:8.0-cudnn5-devel-ubuntu16.04
MAINTAINER priscila pmoreira@nd.edu
RUN apt-get update && apt-get install -y \
python3-pip \
build-essential \
cmake git vim libgl1-mesa-dev libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev \
python3-dev libtbb2 libtbb-dev libjpeg-dev libpng-dev libtiff-dev libjasper-dev libdc1394-22-dev
ENV PYTHONWARNINGS=ignore:DEPRECATION
RUN pip3 install --upgrade 'pip<21' 'setuptools<51'
RUN pip3 install pyyaml \
numpy==1.18 \
Pillow==3.2.0 \
scipy==1.1.0 \
tensorflow-gpu==0.12.1 \
easydict \
matplotlib \
Cython \
Image \
opencv-python \
networkx==2.1 \
scikit-image
RUN export CUDA_HOME=/usr/local/cuda
RUN export LD_LIBRARY_PATH=${CUDA_HOME}/lib64
RUN PATH=${CUDA_HOME}/bin:${PATH}
RUN export PATH
RUN ln -s /usr/local/cuda/lib64/libcudart.so /usr/local/lib/
RUN ln -s /usr/local/cuda/lib64/libcudart.a /usr/local/lib/
RUN alias python='python3.5'
RUN alias python3='python3.5'