From 9c8f5a5705858e823976867e981d626b0874b5da Mon Sep 17 00:00:00 2001 From: aiordache Date: Tue, 23 Feb 2021 09:50:45 +0100 Subject: [PATCH] Set `platform` and `isolation` options for cli builder Signed-off-by: aiordache --- compose/service.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compose/service.py b/compose/service.py index df0d76fb9..c3ee0201a 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 "