Skip to content

Commit

Permalink
Try to fix hub.docker.com build error.
Browse files Browse the repository at this point in the history
Maybe is disk usage issue.

ISSUE=4596347


git-svn-id: https://svn.baidu.com/idl/trunk/paddle@1426 1ad973e4-5ce8-4261-8a94-b56d1f490c56
  • Loading branch information
yuyang18 committed Aug 30, 2016
1 parent 96e7da5 commit 5710959
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 7 deletions.
5 changes: 4 additions & 1 deletion paddle/scripts/docker/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 4 additions & 1 deletion paddle/scripts/docker/cpu-demo/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 4 additions & 1 deletion paddle/scripts/docker/cpu-devel/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 4 additions & 1 deletion paddle/scripts/docker/cpu/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 4 additions & 1 deletion paddle/scripts/docker/gpu-demo/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 4 additions & 1 deletion paddle/scripts/docker/gpu-devel/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 4 additions & 1 deletion paddle/scripts/docker/gpu/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5710959

Please sign in to comment.