diff --git a/cli/command/image/build_buildkit.go b/cli/command/image/build_buildkit.go index c7344d4545..6c6d06ba8a 100644 --- a/cli/command/image/build_buildkit.go +++ b/cli/command/image/build_buildkit.go @@ -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()