mirror of https://github.com/docker/docs.git
use new image as base of next command
This commit is contained in:
parent
ff95f2b0ec
commit
74b9e851f6
|
@ -187,6 +187,10 @@ func (builder *Builder) Build(dockerfile io.Reader, stdout io.Writer) error {
|
||||||
tmpImages[base.Id] = struct{}{}
|
tmpImages[base.Id] = struct{}{}
|
||||||
|
|
||||||
fmt.Fprintf(stdout, "===> %s\n", base.ShortId())
|
fmt.Fprintf(stdout, "===> %s\n", base.ShortId())
|
||||||
|
|
||||||
|
// use the base as the new image
|
||||||
|
image = base
|
||||||
|
|
||||||
break
|
break
|
||||||
case "copy":
|
case "copy":
|
||||||
if image == nil {
|
if image == nil {
|
||||||
|
|
Loading…
Reference in New Issue