@@ -23,11 +23,9 @@ ENV HOME /root
23
23
COPY ./paddle/scripts/docker/root/ /root/
24
24
25
25
RUN apt-get update || \
26
- apt-get install -y --allow-unauthenticated libnccl2=2.1.2-1+cuda8.0 libnccl-dev=2.1.2-1+cuda8.0
27
-
28
- RUN apt-get install -y --allow-downgrades patchelf \
26
+ apt-get install -y --allow-downgrades patchelf \
29
27
git python-pip python-dev python-opencv openssh-server bison \
30
- python3 python3-pip python3 -dev \
28
+ libnccl2=2.1.2-1+cuda8.0 libnccl -dev=2.1.2-1+cuda8.0 \
31
29
wget unzip unrar tar xz-utils bzip2 gzip coreutils ntp \
32
30
curl sed grep graphviz libjpeg-dev zlib1g-dev \
33
31
python-matplotlib gcc-4.8 g++-4.8 \
@@ -66,6 +64,8 @@ RUN git config --global credential.helper store
66
64
# Fix locales to en_US.UTF-8
67
65
RUN localedef -i en_US -f UTF-8 en_US.UTF-8
68
66
67
+ RUN apt-get install -y python3 python3-dev python3-pip
68
+
69
69
# FIXME: due to temporary ipykernel dependency issue, specify ipykernel jupyter
70
70
# version util jupyter fixes this issue.
71
71
@@ -76,7 +76,6 @@ RUN easy_install -U pip && \
76
76
pip install -U wheel && \
77
77
pip install -U docopt PyYAML sphinx==1.5.6 && \
78
78
pip install sphinx-rtd-theme==0.1.9 recommonmark && \
79
- pip3 install --upgrade pip && \
80
79
pip3 install -U wheel && \
81
80
pip3 install -U docopt PyYAML sphinx==1.5.6 && \
82
81
pip3 install sphinx-rtd-theme==0.1.9 recommonmark
0 commit comments