Last active
December 29, 2017 08:52
-
-
Save kostyll/53473c8c248659e0b1cdba2d92356c76 to your computer and use it in GitHub Desktop.
Revisions
-
kostyll revised this gist
Dec 29, 2017 . 1 changed file with 1 addition 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,7 +1,7 @@ #!/bin/bash echo "general install ..." apt-get update && apt-get install rsync tmux mosh wget curl -y apt-get install \ apt-transport-https \ ca-certificates \ -
kostyll revised this gist
Dec 29, 2017 . 1 changed file with 1 addition 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 @@ -19,7 +19,7 @@ add-apt-repository \ stable" apt-get update echo "installing docker ...." apt-get install docker-ce -y echo "running hello-world ..." docker run hello-world -
kostyll created this gist
Dec 29, 2017 .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,33 @@ #!/bin/bash echo "general install ..." apt-get update && apt-get install tmux mosh wget curl -y apt-get install \ apt-transport-https \ ca-certificates \ curl \ gnupg2 \ software-properties-common \ -y echo "preparing docker install..." curl -fsSL https://download.docker.com/linux/$(. /etc/os-release; echo "$ID")/gpg | apt-key add - apt-key fingerprint 0EBFCD88 add-apt-repository \ "deb [arch=amd64] https://download.docker.com/linux/$(. /etc/os-release; echo "$ID") \ $(lsb_release -cs) \ stable" apt-get update echo "installing docker ...." apt-get install docker-ce echo "running hello-world ..." docker run hello-world echo "installing docker-compose ...." curl -L https://github.com/docker/compose/releases/download/1.18.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose chmod +x /usr/local/bin/docker-compose docker-compose --version echo "installed!" exit 0