提交 2925f008 编写于 作者: Q qijun

fix wrong path of pip install *whl

上级 0344c086
...@@ -42,7 +42,7 @@ if [[ ${RUN_TEST:-OFF} == "ON" ]]; then ...@@ -42,7 +42,7 @@ if [[ ${RUN_TEST:-OFF} == "ON" ]]; then
make coveralls make coveralls
fi fi
make install make install
pip install /usr/opt/paddle/share/wheels/*.whl pip install /usr/local/opt/paddle/share/wheels/*.whl
if [ ${WITH_DOC} == "ON" ]; then if [ ${WITH_DOC} == "ON" ]; then
mkdir -p /paddle/build_doc mkdir -p /paddle/build_doc
...@@ -111,7 +111,7 @@ ADD build/*.deb /usr/local/opt/paddle/deb/ ...@@ -111,7 +111,7 @@ ADD build/*.deb /usr/local/opt/paddle/deb/
# run paddle version to install python packages first # run paddle version to install python packages first
RUN dpkg -i /usr/local/opt/paddle/deb/*.deb && \ RUN dpkg -i /usr/local/opt/paddle/deb/*.deb && \
rm -f /usr/local/opt/paddle/deb/*.deb && \ rm -f /usr/local/opt/paddle/deb/*.deb && \
pip install /usr/opt/paddle/share/wheels/*.whl && \ pip install /usr/local/opt/paddle/share/wheels/*.whl && \
paddle version paddle version
${CPU_DOCKER_PYTHON_HOME_ENV} ${CPU_DOCKER_PYTHON_HOME_ENV}
${DOCKERFILE_CUDNN_DSO} ${DOCKERFILE_CUDNN_DSO}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册