lib/templates/actions/install_docker.sh in gearship-0.2.3 vs lib/templates/actions/install_docker.sh in gearship-0.2.4
- old
+ new
@@ -1,12 +1,14 @@
if gearship.install "docker-ce"; then
- sudo apt-get install -y linux-image-extra-$(uname -r) linux-image-extra-virtual
-
- sudo apt-get install -y apt-transport-https ca-certificates curl software-properties-common
-
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
-
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
-
sudo apt-get update
- sudo apt-get install -y docker-ce
+
+ sudo apt-get install -y linux-image-extra-$(uname -r) \
+ linux-image-extra-virtual \
+ apt-transport-https \
+ ca-certificates \
+ software-properties-common \
+ docker-ce
+
+
fi