From eed38ce76c3488b26e22e5c740075854f2664fe9 Mon Sep 17 00:00:00 2001 From: Daniel Roythorne Date: Fri, 8 Apr 2022 11:58:18 +0100 Subject: [PATCH] Fixed accidental deletion of project functionality. --- podman_compose.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/podman_compose.py b/podman_compose.py index 4a78f12..235cd35 100755 --- a/podman_compose.py +++ b/podman_compose.py @@ -914,7 +914,9 @@ def container_to_args(compose, cnt, detached=True): if is_str(entrypoint): entrypoint = shlex.split(entrypoint) podman_args.extend(["--entrypoint", json.dumps(entrypoint)]) - + platform = cnt.get("platform", None) + if platform is not None: + podman_args.extend(["--platform", platform]) # WIP: healthchecks are still work in progress healthcheck = cnt.get("healthcheck", None) or {} if not is_dict(healthcheck):