From 24ac7970ec05fbc9426b3a6aa5619d15a599d50d Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Mon, 13 Mar 2017 10:33:54 -0700 Subject: [PATCH] Add a simple bashbrew TODO --- go/src/bashbrew/cmd-build.go | 1 + 1 file changed, 1 insertion(+) diff --git a/go/src/bashbrew/cmd-build.go b/go/src/bashbrew/cmd-build.go index 25038c9..9711f10 100644 --- a/go/src/bashbrew/cmd-build.go +++ b/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) } 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)) dockerPull(from) }