Skip to content

Instantly share code, notes, and snippets.

@imballinst
Last active February 13, 2019 12:47
Show Gist options
  • Save imballinst/b9b1e215c7391fc95e2c051ee42df4d9 to your computer and use it in GitHub Desktop.
Save imballinst/b9b1e215c7391fc95e2c051ee42df4d9 to your computer and use it in GitHub Desktop.
Shell scripts to get your VM ready for Google SDK and Docker Compose
sudo curl -L "https://github.com/docker/compose/releases/download/1.23.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
export CLOUD_SDK_REPO="cloud-sdk-$(lsb_release -c -s)"
echo "deb http://packages.cloud.google.com/apt $CLOUD_SDK_REPO main" | sudo tee -a /etc/apt/sources.list.d/google-cloud-sdk.list
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
sudo apt-get update && sudo apt-get install google-cloud-sdk
sudo apt-get install google-cloud-sdk-app-engine-java
gcloud init
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment