瀏覽代碼

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("--target", target)
         command_builder.add_arg("--iidfile", iidfile)
+        command_builder.add_arg("--platform", platform)
+        command_builder.add_arg("--isolation", isolation)
         args = command_builder.build([path])
 
         magic_word = "Successfully built "