File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 598
598
EOF
599
599
600
600
if [[ ${WITH_GPU} == " ON" ]]; then
601
- NCCL_DEPS=" apt-get install -y --allow-downgrades libnccl2=2.2.13-1+cuda${CUDA_MAJOR} libnccl-dev=2.2.13-1+cuda${CUDA_MAJOR} && "
601
+ NCCL_DEPS=" apt-get install -y --allow-downgrades libnccl2=2.2.13-1+cuda${CUDA_MAJOR} libnccl-dev=2.2.13-1+cuda${CUDA_MAJOR} || true "
602
602
else
603
603
NCCL_DEPS=" "
604
604
fi
614
614
cat >> ${PADDLE_ROOT} /build/Dockerfile << EOF
615
615
ADD python/dist/*.whl /
616
616
# run paddle version to install python packages first
617
- RUN apt-get update &&\
618
- ${NCCL_DEPS} \
619
- apt-get install -y wget python-pip python-opencv libgtk2.0-dev dmidecode python-tk && easy_install -U pip && \
617
+ RUN apt-get update && ${NCCL_DEPS}
618
+ RUN apt-get install -y wget python-pip python-opencv libgtk2.0-dev dmidecode python-tk && easy_install -U pip && \
620
619
pip install /*.whl; apt-get install -f -y && \
621
620
apt-get clean -y && \
622
621
rm -f /*.whl && \
You can’t perform that action at this time.
0 commit comments