fix SSL error when wget docker
This commit is contained in:
parent
7347be7c76
commit
dbdad86d90
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ func (d *Docker) Write(f *buildfile.Buildfile) {
|
|||
|
||||
if len(d.DockerVersion) > 0 {
|
||||
// Download docker binary and install it as /usr/local/bin/docker if it does not exist
|
||||
f.WriteCmd("type -p docker || wget -qO- https://get.docker.io/builds/Linux/x86_64/docker-" +
|
||||
f.WriteCmd("type -p docker || curl -sSL https://get.docker.io/builds/Linux/x86_64/docker-" +
|
||||
d.DockerVersion + ".tgz |sudo tar zxf - -C /")
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue