mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-07-09 13:24:45 +00:00
fix SSL error when wget docker
This commit is contained in:
parent
7347be7c76
commit
dbdad86d90
@ -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 New Issue
Block a user