Преглед изворни кода

Add a simple bashbrew TODO

Tianon Gravi пре 8 година
родитељ
комит
79c178ab7f
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      bashbrew/go/src/bashbrew/cmd-build.go

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

@@ -60,6 +60,7 @@ func cmdBuild(c *cli.Context) error {
 					return fmt.Errorf(`unexpected value for --pull: %s`, pull)
 					return fmt.Errorf(`unexpected value for --pull: %s`, pull)
 				}
 				}
 				if doPull {
 				if doPull {
+					// TODO detect if "from" is something we've built (ie, "python:3-onbuild" is "FROM python:3" but we don't want to pull "python:3" if we "bashbrew build python")
 					fmt.Printf("Pulling %s (%s)\n", from, r.EntryIdentifier(entry))
 					fmt.Printf("Pulling %s (%s)\n", from, r.EntryIdentifier(entry))
 					dockerPull(from)
 					dockerPull(from)
 				}
 				}