From 2c4892c968560dcceec72f8cbc92d8ddc841aa2a Mon Sep 17 00:00:00 2001 From: qijun Date: Fri, 21 Apr 2017 18:56:11 +0800 Subject: [PATCH] find whl path --- paddle/scripts/docker/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/scripts/docker/build.sh b/paddle/scripts/docker/build.sh index 1613d970b..185aa0507 100644 --- a/paddle/scripts/docker/build.sh +++ b/paddle/scripts/docker/build.sh @@ -113,7 +113,7 @@ 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 && \ rm -f /usr/local/opt/paddle/deb/*.deb && \ - pip install /usr/local/opt/paddle/share/wheels/*.whl && \ + find /usr/ -name '*paddle-*.whl' | xargs pip install && \ paddle version ${CPU_DOCKER_PYTHON_HOME_ENV} ${DOCKERFILE_CUDNN_DSO} -- GitLab