mirror of
https://github.com/containers/podman-compose.git
synced 2025-04-23 08:59:21 +02:00
Fixed accidental deletion of project functionality.
This commit is contained in:
parent
86ffad86c7
commit
eed38ce76c
@ -914,7 +914,9 @@ def container_to_args(compose, cnt, detached=True):
|
|||||||
if is_str(entrypoint):
|
if is_str(entrypoint):
|
||||||
entrypoint = shlex.split(entrypoint)
|
entrypoint = shlex.split(entrypoint)
|
||||||
podman_args.extend(["--entrypoint", json.dumps(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
|
# WIP: healthchecks are still work in progress
|
||||||
healthcheck = cnt.get("healthcheck", None) or {}
|
healthcheck = cnt.get("healthcheck", None) or {}
|
||||||
if not is_dict(healthcheck):
|
if not is_dict(healthcheck):
|
||||||
|
Loading…
Reference in New Issue
Block a user