Skip to content

Commit 9b45b26

Browse files
author
reyoung
committed
Done with docker package
1 parent f192800 commit 9b45b26

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

cmake/package.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ set(CPACK_DEBIAN_PACKAGE_ARCHITECTURE amd64)
99
set(CPACK_DEBIAN_PACKAGE_MAINTAINER PaddlePaddle Dev <[email protected]>)
1010
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Paddle")
1111
set(CPACK_PACKAGE_DESCRIPTION "")
12-
set(CPACK_DEBIAN_PACKAGE_DEPENDS "libpython2.7, libstdc++6, python-pip, curl, libgfortran3, python-pip-whl")
12+
set(CPACK_DEBIAN_PACKAGE_DEPENDS "libpython2.7-dev, libstdc++6, python-pip, curl, libgfortran3, python-pip-whl")
1313
set(CPACK_DEBIAN_PACKAGE_SECTION Devel)
1414
set(CPACK_DEBIAN_PACKAGE_VERSION ${PADDLE_VERSION})
1515
set(CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA "${PROJ_ROOT}/paddle/scripts/deb/postinst")

paddle/scripts/docker/build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ cat >> /paddle/build/Dockerfile <<EOF
102102
ADD build/*.deb /
103103
# run paddle version to install python packages first
104104
RUN apt-get update &&\
105+
apt-get install -y python-pip && pip install -U pip && \
105106
dpkg -i /*.deb ; apt-get install -f -y && \
106107
apt-get clean -y && \
107108
rm -f /*.deb && \

0 commit comments

Comments
 (0)