mirror of https://github.com/docker/docs.git
Make sure the last line of docker build is the image id
This commit is contained in:
parent
5b33b2463a
commit
54af053623
|
@ -355,7 +355,7 @@ func (b *buildFile) Build(dockerfile, context io.Reader) (string, error) {
|
||||||
for i := range b.tmpImages {
|
for i := range b.tmpImages {
|
||||||
delete(b.tmpImages, i)
|
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
|
return b.image, nil
|
||||||
}
|
}
|
||||||
for i := range b.tmpContainers {
|
for i := range b.tmpContainers {
|
||||||
|
|
Loading…
Reference in New Issue