diff --git a/paddle/scripts/docker/build.sh b/paddle/scripts/docker/build.sh index 16f669bd7744a75afe7ce4c5cab2db3e8745fcf7..48e8e912b8692c5078073d9e89f59489eb0ef0b8 100644 --- a/paddle/scripts/docker/build.sh +++ b/paddle/scripts/docker/build.sh @@ -97,6 +97,7 @@ RUN ${MIRROR_UPDATE} ADD build/*.deb /usr/local/opt/paddle/deb/ # run paddle version to install python packages first RUN dpkg -i /usr/local/opt/paddle/deb/*.deb && \ + apt-get -f && \ rm -f /usr/local/opt/paddle/deb/*.deb && \ pip install /usr/opt/paddle/share/wheels/*.whl && \ paddle version