Explorar el Código

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 hace 6 años
padre
commit
32ac6edb86
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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)