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/
2424
2525RUN apt-get update && \
2626 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 \
2828 libnccl2=2.1.2-1+cuda8.0 libnccl-dev=2.1.2-1+cuda8.0 \
2929 wget unzip unrar tar xz-utils bzip2 gzip coreutils ntp \
3030 curl sed grep graphviz libjpeg-dev zlib1g-dev \
@@ -76,8 +76,7 @@ RUN easy_install -U pip && \
7676 pip install sphinx-rtd-theme==0.1.9 recommonmark
7777
7878RUN 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'
8180
8281# For docstring checker
8382RUN pip install pylint pytest astroid isort
Original file line number Diff line number Diff line change 11FROM 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
33RUN 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
44RUN pip install -U pip
5- RUN pip install -U kubernetes opencv-python paddlepaddle
5+ RUN pip install -U kubernetes paddlepaddle
66
77# IMPORTANT:
88# 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