Adding apt-get update prior to attempting install of apt-transport-https in docker publish plugin
This commit is contained in:
parent
831b034aa3
commit
52201df4cc
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