mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-27 12:21:03 +00:00
Merge pull request #480 from epipho/docker-fix-apt
Adding apt-get update prior to attempting install of apt-transport-https...
This commit is contained in:
commit
3a34860e85
1 changed files with 2 additions and 0 deletions
|
@ -54,6 +54,8 @@ func (d *Docker) Write(f *buildfile.Buildfile, r *repo.Repo) {
|
|||
return
|
||||
}
|
||||
|
||||
f.WriteCmd("sudo apt-get update")
|
||||
|
||||
// Ensure correct apt-get has the https method-driver as per (http://askubuntu.com/questions/165676/)
|
||||
f.WriteCmd("sudo apt-get install apt-transport-https")
|
||||
|
||||
|
|
Loading…
Reference in a new issue