File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ COPY ./paddle/scripts/docker/root/ /root/
24
24
25
25
RUN apt-get update && \
26
26
apt-get install -y --allow-downgrades \
27
- git python-pip python-dev openssh-server bison \
27
+ git python-pip python-dev python-opencv openssh-server bison \
28
28
libnccl2=2.1.2-1+cuda8.0 libnccl-dev=2.1.2-1+cuda8.0 \
29
29
wget unzip unrar tar xz-utils bzip2 gzip coreutils ntp \
30
30
curl sed grep graphviz libjpeg-dev zlib1g-dev \
@@ -76,8 +76,7 @@ RUN easy_install -U pip && \
76
76
pip install sphinx-rtd-theme==0.1.9 recommonmark
77
77
78
78
RUN pip install pre-commit 'ipython==5.3.0' && \
79
- pip install 'ipykernel==4.6.0' 'jupyter==1.0.0' && \
80
- pip install opencv-python
79
+ pip install 'ipykernel==4.6.0' 'jupyter==1.0.0'
81
80
82
81
# For docstring checker
83
82
RUN pip install pylint pytest astroid isort
Original file line number Diff line number Diff line change 1
1
FROM nvidia/cuda:9.0-cudnn7-devel-ubuntu16.04
2
- RUN apt-get update && apt-get install -y python python-pip iputils-ping libgtk2.0-dev wget vim net-tools iftop
2
+ RUN apt-get update && apt-get install -y python python-pip iputils-ping libgtk2.0-dev wget vim net-tools iftop python-opencv
3
3
RUN ln -s /usr/lib/x86_64-linux-gnu/libcudnn.so.7 /usr/lib/libcudnn.so && ln -s /usr/lib/x86_64-linux-gnu/libnccl.so.2 /usr/lib/libnccl.so
4
4
RUN pip install -U pip
5
- RUN pip install -U kubernetes opencv-python paddlepaddle
5
+ RUN pip install -U kubernetes paddlepaddle
6
6
7
7
# IMPORTANT:
8
8
# Add "ENV http_proxy=http://ip:port" if your download is slow, and don't forget to unset it at runtime.
You can’t perform that action at this time.
0 commit comments