1
0
mirror of https://github.com/docker/cli.git synced 2026-01-13 18:22:35 +03:00

build: honor BUILDKIT_PROGRESS env config

Signed-off-by: Tibor Vass <tibor@docker.com>
This commit is contained in:
Tibor Vass
2019-05-07 22:15:54 +00:00
parent d88565df0c
commit 8adcedd658

View File

@@ -215,6 +215,10 @@ func runBuildBuildKit(dockerCli command.Cli, options buildOptions) error {
})
}
if v := os.Getenv("BUILDKIT_PROGRESS"); v != "" && options.progress == "auto" {
options.progress = v
}
eg.Go(func() error {
defer func() { // make sure the Status ends cleanly on build errors
s.Close()