Browse Source

Don't pull scratch

Tianon Gravi 9 years ago
parent
commit
d701c72366
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bashbrew/go/src/bashbrew/cmd-build.go

+ 1 - 1
bashbrew/go/src/bashbrew/cmd-build.go

@@ -42,7 +42,7 @@ func cmdBuild(c *cli.Context) error {
 				return cli.NewMultiError(fmt.Errorf(`failed fetching/scraping FROM for %q (tags %q)`, r.RepoName, entry.TagsString()), err)
 			}
 
-			if pullMissing {
+			if pullMissing && from != "scratch" {
 				_, err := dockerInspect("{{.Id}}", from)
 				if err != nil {
 					fmt.Printf("Pulling %s (%s)\n", from, r.RepoName)