github.com/cloudfoundry-attic/garden-linux@v0.333.2-candidate/integration/test-images/large_layers/build.sh (about) 1 #!/bin/bash -e 2 3 DIR=$(dirname $0) 4 CACHE_DIR=${DIR}/cache 5 GO_TGZ=${CACHE_DIR}/go.tar.gz 6 7 mkdir -p $CACHE_DIR 8 9 if [ ! -f $GO_TGZ ] 10 then 11 echo "go not found locally - downloading" 12 wget https://storage.googleapis.com/golang/go1.4.2.linux-amd64.tar.gz -O $GO_TGZ 13 else 14 echo "go found locally - not downloading" 15 fi 16 17 docker build -t cloudfoundry/large_layers $DIR