瀏覽代碼

Fix --progress arg when run docker-compose build

--progress is no longer processed as flag but as argument with value.

Signed-off-by: Lukas Hettwer <[email protected]>

Resolve: [#6913]
Lukas Hettwer 6 年之前
父節點
當前提交
32ac6edb86
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      compose/service.py

+ 1 - 1
compose/service.py

@@ -1787,7 +1787,7 @@ class _CLIBuilder(object):
         command_builder.add_flag("--force-rm", forcerm)
         command_builder.add_arg("--memory", container_limits.get("memory"))
         command_builder.add_flag("--no-cache", nocache)
-        command_builder.add_flag("--progress", self._progress)
+        command_builder.add_arg("--progress", self._progress)
         command_builder.add_flag("--pull", pull)
         command_builder.add_arg("--tag", tag)
         command_builder.add_arg("--target", target)