summaryrefslogtreecommitdiff
path: root/compose/service.py
diff options
context:
space:
mode:
authoraiordache <anca.iordache@docker.com>2021-02-23 09:50:45 +0100
committeraiordache <anca.iordache@docker.com>2021-02-23 09:50:45 +0100
commit9c8f5a5705858e823976867e981d626b0874b5da (patch)
tree841092bfc651d6cab17ded8ea61451062a830664 /compose/service.py
parent66375c28711f56292d7bd0d643bfdad09e65b3df (diff)
Set `platform` and `isolation` options for cli builder
Signed-off-by: aiordache <anca.iordache@docker.com>
Diffstat (limited to 'compose/service.py')
-rw-r--r--compose/service.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/compose/service.py b/compose/service.py
index df0d76fb..c3ee0201 100644
--- a/compose/service.py
+++ b/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 "