Преглед изворни кода

Set `platform` and `isolation` options for cli builder

Signed-off-by: aiordache <[email protected]>
aiordache пре 4 година
родитељ
комит
9c8f5a5705
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      compose/service.py

+ 2 - 0
compose/service.py

@@ -1873,6 +1873,8 @@ class _CLIBuilder:
         command_builder.add_arg("--tag", tag)
         command_builder.add_arg("--tag", tag)
         command_builder.add_arg("--target", target)
         command_builder.add_arg("--target", target)
         command_builder.add_arg("--iidfile", iidfile)
         command_builder.add_arg("--iidfile", iidfile)
+        command_builder.add_arg("--platform", platform)
+        command_builder.add_arg("--isolation", isolation)
         args = command_builder.build([path])
         args = command_builder.build([path])
 
 
         magic_word = "Successfully built "
         magic_word = "Successfully built "