From 57109591d1310946dc9bbcfff29e9e050e5a8aa7 Mon Sep 17 00:00:00 2001 From: yuyang18 Date: Tue, 30 Aug 2016 10:51:40 +0000 Subject: [PATCH] Try to fix hub.docker.com build error. Maybe is disk usage issue. ISSUE=4596347 git-svn-id: https://svn.baidu.com/idl/trunk/paddle@1426 1ad973e4-5ce8-4261-8a94-b56d1f490c56 --- paddle/scripts/docker/build.sh | 5 ++++- paddle/scripts/docker/cpu-demo/build.sh | 5 ++++- paddle/scripts/docker/cpu-devel/build.sh | 5 ++++- paddle/scripts/docker/cpu/build.sh | 5 ++++- paddle/scripts/docker/gpu-demo/build.sh | 5 ++++- paddle/scripts/docker/gpu-devel/build.sh | 5 ++++- paddle/scripts/docker/gpu/build.sh | 5 ++++- 7 files changed, 28 insertions(+), 7 deletions(-) diff --git a/paddle/scripts/docker/build.sh b/paddle/scripts/docker/build.sh index be59c325b1..8b2a2b8e81 100644 --- a/paddle/scripts/docker/build.sh +++ b/paddle/scripts/docker/build.sh @@ -31,8 +31,11 @@ if [ ${WITH_GPU} == "ON" ]; then # install cuda md5sum -c cuda_7.5.18_linux.run.md5 chmod +x cuda_7.5.18_linux.run ./cuda_7.5.18_linux.run --extract=$PWD - ./cuda-linux64-rel-7.5.18-19867135.run -noprompt + mv cuda-linux64-rel-7.5.18-*.run tmp rm *.run *.run.md5 + mv tmp cuda-linux64.run + ./cuda-linux64.run -noprompt + rm *.run echo "Downloading cudnn v5.1" set +e diff --git a/paddle/scripts/docker/cpu-demo/build.sh b/paddle/scripts/docker/cpu-demo/build.sh index be59c325b1..8b2a2b8e81 100644 --- a/paddle/scripts/docker/cpu-demo/build.sh +++ b/paddle/scripts/docker/cpu-demo/build.sh @@ -31,8 +31,11 @@ if [ ${WITH_GPU} == "ON" ]; then # install cuda md5sum -c cuda_7.5.18_linux.run.md5 chmod +x cuda_7.5.18_linux.run ./cuda_7.5.18_linux.run --extract=$PWD - ./cuda-linux64-rel-7.5.18-19867135.run -noprompt + mv cuda-linux64-rel-7.5.18-*.run tmp rm *.run *.run.md5 + mv tmp cuda-linux64.run + ./cuda-linux64.run -noprompt + rm *.run echo "Downloading cudnn v5.1" set +e diff --git a/paddle/scripts/docker/cpu-devel/build.sh b/paddle/scripts/docker/cpu-devel/build.sh index be59c325b1..8b2a2b8e81 100644 --- a/paddle/scripts/docker/cpu-devel/build.sh +++ b/paddle/scripts/docker/cpu-devel/build.sh @@ -31,8 +31,11 @@ if [ ${WITH_GPU} == "ON" ]; then # install cuda md5sum -c cuda_7.5.18_linux.run.md5 chmod +x cuda_7.5.18_linux.run ./cuda_7.5.18_linux.run --extract=$PWD - ./cuda-linux64-rel-7.5.18-19867135.run -noprompt + mv cuda-linux64-rel-7.5.18-*.run tmp rm *.run *.run.md5 + mv tmp cuda-linux64.run + ./cuda-linux64.run -noprompt + rm *.run echo "Downloading cudnn v5.1" set +e diff --git a/paddle/scripts/docker/cpu/build.sh b/paddle/scripts/docker/cpu/build.sh index be59c325b1..8b2a2b8e81 100644 --- a/paddle/scripts/docker/cpu/build.sh +++ b/paddle/scripts/docker/cpu/build.sh @@ -31,8 +31,11 @@ if [ ${WITH_GPU} == "ON" ]; then # install cuda md5sum -c cuda_7.5.18_linux.run.md5 chmod +x cuda_7.5.18_linux.run ./cuda_7.5.18_linux.run --extract=$PWD - ./cuda-linux64-rel-7.5.18-19867135.run -noprompt + mv cuda-linux64-rel-7.5.18-*.run tmp rm *.run *.run.md5 + mv tmp cuda-linux64.run + ./cuda-linux64.run -noprompt + rm *.run echo "Downloading cudnn v5.1" set +e diff --git a/paddle/scripts/docker/gpu-demo/build.sh b/paddle/scripts/docker/gpu-demo/build.sh index be59c325b1..8b2a2b8e81 100644 --- a/paddle/scripts/docker/gpu-demo/build.sh +++ b/paddle/scripts/docker/gpu-demo/build.sh @@ -31,8 +31,11 @@ if [ ${WITH_GPU} == "ON" ]; then # install cuda md5sum -c cuda_7.5.18_linux.run.md5 chmod +x cuda_7.5.18_linux.run ./cuda_7.5.18_linux.run --extract=$PWD - ./cuda-linux64-rel-7.5.18-19867135.run -noprompt + mv cuda-linux64-rel-7.5.18-*.run tmp rm *.run *.run.md5 + mv tmp cuda-linux64.run + ./cuda-linux64.run -noprompt + rm *.run echo "Downloading cudnn v5.1" set +e diff --git a/paddle/scripts/docker/gpu-devel/build.sh b/paddle/scripts/docker/gpu-devel/build.sh index be59c325b1..8b2a2b8e81 100644 --- a/paddle/scripts/docker/gpu-devel/build.sh +++ b/paddle/scripts/docker/gpu-devel/build.sh @@ -31,8 +31,11 @@ if [ ${WITH_GPU} == "ON" ]; then # install cuda md5sum -c cuda_7.5.18_linux.run.md5 chmod +x cuda_7.5.18_linux.run ./cuda_7.5.18_linux.run --extract=$PWD - ./cuda-linux64-rel-7.5.18-19867135.run -noprompt + mv cuda-linux64-rel-7.5.18-*.run tmp rm *.run *.run.md5 + mv tmp cuda-linux64.run + ./cuda-linux64.run -noprompt + rm *.run echo "Downloading cudnn v5.1" set +e diff --git a/paddle/scripts/docker/gpu/build.sh b/paddle/scripts/docker/gpu/build.sh index be59c325b1..8b2a2b8e81 100644 --- a/paddle/scripts/docker/gpu/build.sh +++ b/paddle/scripts/docker/gpu/build.sh @@ -31,8 +31,11 @@ if [ ${WITH_GPU} == "ON" ]; then # install cuda md5sum -c cuda_7.5.18_linux.run.md5 chmod +x cuda_7.5.18_linux.run ./cuda_7.5.18_linux.run --extract=$PWD - ./cuda-linux64-rel-7.5.18-19867135.run -noprompt + mv cuda-linux64-rel-7.5.18-*.run tmp rm *.run *.run.md5 + mv tmp cuda-linux64.run + ./cuda-linux64.run -noprompt + rm *.run echo "Downloading cudnn v5.1" set +e -- GitLab