Make sure the last line of docker build is the image id

Upstream-commit: 54af0536232ca71d37f7c6440f1bb17b3ed112db
Component: engine
This commit is contained in:
Guillaume J. Charmes
2013-05-28 15:40:22 -07:00
parent 2c506017f0
commit 9b55c462fd
+1 -1
View File
@@ -355,7 +355,7 @@ func (b *buildFile) Build(dockerfile, context io.Reader) (string, error) {
for i := range b.tmpImages {
delete(b.tmpImages, i)
}
fmt.Fprintf(b.out, "Build finished. image id: %s\n", b.image)
fmt.Fprintf(b.out, "Build success.\n Image id:\n%s\n", b.image)
return b.image, nil
}
for i := range b.tmpContainers {