We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b4d456 commit e8d33beCopy full SHA for e8d33be
paddle/scripts/docker/build.sh
@@ -14,6 +14,8 @@ mkdir -p /paddle/dist/gpu-noavx
14
# Set BASE_IMAGE and DEB_PATH according to env variables
15
if [ ${WITH_GPU} == "ON" ]; then
16
BASE_IMAGE="nvidia/cuda:7.5-cudnn5-runtime-ubuntu14.04"
17
+ # additional packages to install when building gpu images
18
+ GPU_DOCKER_PKG="python-pip"
19
if [ ${WITH_AVX} == "ON" ]; then
20
DEB_PATH="dist/gpu/"
21
DOCKER_SUFFIX="gpu"
@@ -125,7 +127,7 @@ ENV LANG en_US.UTF-8
125
127
126
128
RUN ${MIRROR_UPDATE}
129
apt-get update && \
- apt-get install -y libgfortran3 && \
130
+ apt-get install -y libgfortran3 ${GPU_DOCKER_PKG} && \
131
apt-get clean -y && \
132
pip install --upgrade pip && \
133
pip install -U 'protobuf==3.1.0' requests
0 commit comments