Last active
June 15, 2016 10:00
-
-
Save allbinmani/d4b18b6c956ee19178c23d8c4dcc570a to your computer and use it in GitHub Desktop.
Revisions
-
origo revised this gist
Jun 15, 2016 . 1 changed file with 6 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,10 @@ #!/bin/sh if [ -z $COMPOSE_VERSION ]; then #1.8.0-rc1 exists COMPOSE_VERSION=1.7.0 fi if [ `whoami` = "root" ]; then echo "Do not run as root!" exit 2 @@ -15,7 +20,7 @@ curl -sSL https://get.docker.com/ | sh sudo usermod -aG docker `whoami` # docker-compose sudo curl -o /usr/local/bin/docker-compose -L https://github.com/docker/compose/releases/download/${COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` sudo chmod +x /usr/local/bin/docker-compose # set timezone -
origo revised this gist
Apr 27, 2016 . 1 changed file with 6 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -17,3 +17,9 @@ sudo usermod -aG docker `whoami` # docker-compose sudo curl -o /usr/local/bin/docker-compose -L https://github.com/docker/compose/releases/download/1.7.0/docker-compose-`uname -s`-`uname -m` sudo chmod +x /usr/local/bin/docker-compose # set timezone sudo timedatectl set-timezone Europe/Stockholm # nice to have nslookup.. sudo apt-get install dnsutils -yqq -
origo created this gist
Apr 26, 2016 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,19 @@ #!/bin/sh if [ `whoami` = "root" ]; then echo "Do not run as root!" exit 2 fi sudo apt-get update -yq sudo apt-get install apt-transport-https ca-certificates -yq sudo apt-get upgrade -yq sudo apt-get install curl -yq # docker curl -sSL https://get.docker.com/ | sh sudo usermod -aG docker `whoami` # docker-compose sudo curl -o /usr/local/bin/docker-compose -L https://github.com/docker/compose/releases/download/1.7.0/docker-compose-`uname -s`-`uname -m` sudo chmod +x /usr/local/bin/docker-compose