Skip to content

Instantly share code, notes, and snippets.

@boseji
Last active June 23, 2017 13:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save boseji/168b945af65a25475cd6df1176119e07 to your computer and use it in GitHub Desktop.
Save boseji/168b945af65a25475cd6df1176119e07 to your computer and use it in GitHub Desktop.
Configuration Script for Docker + Appengine
#!/bin/bash
apt update && apt install -y curl python nano vim wget git apt-transport-https
curl https://sdk.cloud.google.com/ | bash
wget https://storage.googleapis.com/golang/go1.8.3.linux-amd64.tar.gz
tar -C /usr/local -xzf go1.8.3.linux-amd64.tar.gz
rm go1.8.3.linux-amd64.tar.gz
echo 'export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin' >> ~/.bashrc
echo 'export GOPATH=$HOME/go' >> ~/.bashrc
mkdir -p ~/go/src ~/go/bin
wget https://goo.gl/FEjiMK -O .gitconfig
ssh-keygen -t rsa -b 4096
. source ~/.bashrc
gcloud components install app-engine-go app-engine-python
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment