Created
February 11, 2018 18:55
Revisions
-
gordonmurray created this gist
Feb 11, 2018 .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,20 @@ # prerequisites for docker apt-get update apt-get -y install apt-transport-https apt-get -y install ca-certificates apt-get -y install curl apt-get -y install software-properties-common # docker repos curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - \ && echo "deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable" >> /etc/apt/sources.list.d/additional-repositories.list \ && echo "deb http://ftp-stud.hs-esslingen.de/ubuntu xenial main restricted universe multiverse" >> /etc/apt/sources.list.d/official-package-repositories.list \ && apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 437D05B5 \ && apt-get update # docker apt-get -y install docker-ce # permissions sudo usermod -a -G docker jenkins sudo chown root:jenkins /var/run/docker.sock