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

Signed-off-by: aiordache <anca.iordache@docker.com>
This commit is contained in:
aiordache 2021-02-23 09:50:45 +01:00
parent 66375c2871
commit 9c8f5a5705
1 changed files with 2 additions and 0 deletions

View File

@ -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 "