1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-12 08:23:48 +02:00

Adding apt-get update prior to attempting install of apt-transport-https in docker publish plugin

This commit is contained in:
hiwrac 2014-09-23 23:02:19 -04:00
parent 831b034aa3
commit 52201df4cc

View File

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