Skip to content

Commit

Permalink
Pulls base image before exporting
Browse files Browse the repository at this point in the history
  • Loading branch information
ekcasey committed Aug 20, 2018
1 parent 153cc40 commit 7873662
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,11 @@ func Build(appDir, detectImage, analyzeImage, exportImage, repoName, hostMachine
return err
}

if out, err := exec.Command("docker", "pull", groupRepoImage+":run").CombinedOutput(); err != nil {
fmt.Println(string(out))
return err
}

fmt.Println("*** EXPORTING:")
args = []string{
"run",
Expand Down

0 comments on commit 7873662

Please sign in to comment.