Last active
June 23, 2017 13:22
-
-
Save boseji/168b945af65a25475cd6df1176119e07 to your computer and use it in GitHub Desktop.
Configuration Script for Docker + Appengine
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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