diff options
author | aiordache <anca.iordache@docker.com> | 2021-02-23 09:50:45 +0100 |
---|---|---|
committer | aiordache <anca.iordache@docker.com> | 2021-02-23 09:50:45 +0100 |
commit | 9c8f5a5705858e823976867e981d626b0874b5da (patch) | |
tree | 841092bfc651d6cab17ded8ea61451062a830664 | |
parent | 66375c28711f56292d7bd0d643bfdad09e65b3df (diff) |
Set `platform` and `isolation` options for cli builder
Signed-off-by: aiordache <anca.iordache@docker.com>
-rw-r--r-- | compose/service.py | 2 |
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 " |