install docker client during bootstrap

pull/3636/head
Adam Reese 8 years ago
parent 72f77c7967
commit 92da302be5
No known key found for this signature in database
GPG Key ID: 06F35E60A7A18DD6

@ -16,4 +16,11 @@
set -euo pipefail
apt-get update -y && apt-get install -yq zip socat
echo "Install docker client"
VER="17.09.0-ce"
curl -L -o /tmp/docker-$VER.tgz https://download.docker.com/linux/static/stable/x86_64/docker-$VER.tgz
tar -xz -C /tmp -f /tmp/docker-$VER.tgz
mv /tmp/docker/* /usr/bin
make bootstrap

@ -33,12 +33,6 @@ else
exit
fi
echo "Install docker client"
VER="17.09.0-ce"
curl -L -o /tmp/docker-$VER.tgz https://download.docker.com/linux/static/stable/x86_64/docker-$VER.tgz
tar -xz -C /tmp -f /tmp/docker-$VER.tgz
mv /tmp/docker/* /usr/bin
echo "Install gcloud components"
export CLOUDSDK_CORE_DISABLE_PROMPTS=1
curl https://sdk.cloud.google.com | bash

Loading…
Cancel
Save