smartcloud 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/smartcloud/docker.rb +6 -5
- data/lib/smartcloud/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e7bb97a049814c0c3f7008920644356a8ee69d6ea2396d3105003fc3dd3c5d0
|
4
|
+
data.tar.gz: 5e6f3d66f5833a08ce634c80b3d85d4cce1f95fea1eb1896d0ccf6d6abcf7f18
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d99e4e4169dd773a5ff36152e05f0dabbc5f59155cc2936cc460097862d8edf63153d7173ef5a2796c1849b9a4f5c1cb4b9b7917aec3e312f1c83fb207cc9ad
|
7
|
+
data.tar.gz: e3d72619f363bc2d1b2ff368d37e93a859ee6baee6ecb7d8ef044619010563e4847001ff72cdfcfa6ff1efa398f39f69ca07385ca9ba0745e0f2c8731b953fb9
|
data/lib/smartcloud/docker.rb
CHANGED
@@ -17,15 +17,16 @@ module Smartcloud
|
|
17
17
|
|
18
18
|
puts "-----> Installing Docker"
|
19
19
|
commands = [
|
20
|
-
"sudo apt-get update",
|
21
|
-
"sudo apt-get install apt-transport-https ca-certificates curl software-properties-common",
|
20
|
+
"sudo apt-get -y update",
|
21
|
+
"sudo apt-get -y install apt-transport-https ca-certificates curl software-properties-common",
|
22
22
|
"curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -",
|
23
23
|
"sudo apt-key fingerprint 0EBFCD88",
|
24
24
|
"sudo add-apt-repository \"deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable\"",
|
25
|
-
"sudo apt-get update",
|
26
|
-
"sudo apt-get install docker-ce",
|
25
|
+
"sudo apt-get -y update",
|
26
|
+
"sudo apt-get -y install docker-ce",
|
27
27
|
"sudo usermod -aG docker $USER",
|
28
|
-
"docker run --rm hello-world"
|
28
|
+
"docker run --rm hello-world",
|
29
|
+
"docker rmi hello-world"
|
29
30
|
]
|
30
31
|
ssh.run commands
|
31
32
|
|
data/lib/smartcloud/version.rb
CHANGED