-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathDockerfile
More file actions
38 lines (32 loc) · 737 Bytes
/
Dockerfile
File metadata and controls
38 lines (32 loc) · 737 Bytes
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:9.0-cudnn7-runtime-ubuntu16.04
RUN apt-get update && \
apt-get install -y \
build-essential \
cmake \
git \
wget \
unzip \
yasm \
pkg-config \
curl
# Install Python 3
RUN apt-get install -y \
python3-dev \
python3-numpy \
python3-pip
# Install OpenCV
RUN apt-get install -y \
libopencv-dev \
python-opencv
# Cleanup
RUN rm -rf /var/lib/apt/lists/*
# Install Python dependencies
RUN pip3 --no-cache-dir install \
opencv-python \
Pillow \
pyyaml \
tqdm
# Install project specific dependencies
RUN pip3 --no-cache-dir install \
tensorflow-gpu==1.8.0 \
git+git://github.com/JiahuiYu/neuralgym.git@88292adb524186693a32404c0cfdc790426ea441