fix SSL error when wget docker

This commit is contained in:
Brad Rydzewski 2015-09-02 11:53:36 -07:00
parent 7347be7c76
commit dbdad86d90

View file

@ -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 /")
}