Add ability to add multiple tags with docker build

Signed-off-by: Shijiang Wei <mountkin@gmail.com>
Upstream-commit: c2eb37f9aeb6215293483e02613514e49011cf2c
Component: engine
This commit is contained in:
Shijiang Wei
2015-08-30 21:48:03 +08:00
parent 5c5f223189
commit a4eeeb73b3
10 changed files with 119 additions and 40 deletions

View File

@ -1122,7 +1122,6 @@ func buildImageCmd(name, dockerfile string, useCache bool, buildFlags ...string)
buildCmd := exec.Command(dockerBinary, args...)
buildCmd.Stdin = strings.NewReader(dockerfile)
return buildCmd
}
func buildImageWithOut(name, dockerfile string, useCache bool, buildFlags ...string) (string, string, error) {