Skip to content

Commit 2c4892c

Browse files
committed
find whl path
1 parent 190e429 commit 2c4892c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paddle/scripts/docker/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ ADD build/*.deb /usr/local/opt/paddle/deb/
113113
# run paddle version to install python packages first
114114
RUN dpkg -i /usr/local/opt/paddle/deb/*.deb && \
115115
rm -f /usr/local/opt/paddle/deb/*.deb && \
116-
pip install /usr/local/opt/paddle/share/wheels/*.whl && \
116+
find /usr/ -name '*paddle-*.whl' | xargs pip install && \
117117
paddle version
118118
${CPU_DOCKER_PYTHON_HOME_ENV}
119119
${DOCKERFILE_CUDNN_DSO}

0 commit comments

Comments
 (0)