소스 검색

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)