mirror of
https://github.com/containers/podman-compose.git
synced 2025-02-02 19:39:34 +01:00
#115: handle string entrypoint
This commit is contained in:
parent
f2aeaba0d6
commit
c9486c9f3b
@ -763,9 +763,8 @@ def container_to_args(compose, cnt, detached=True):
|
||||
entrypoint = cnt.get('entrypoint', None)
|
||||
if entrypoint is not None:
|
||||
if is_str(entrypoint):
|
||||
podman_args.extend(['--entrypoint', entrypoint])
|
||||
else:
|
||||
podman_args.extend(['--entrypoint', json.dumps(entrypoint)])
|
||||
entrypoint = shlex.split(entrypoint)
|
||||
podman_args.extend(['--entrypoint', json.dumps(entrypoint)])
|
||||
|
||||
# WIP: healthchecks are still work in progress
|
||||
healthcheck = cnt.get('healthcheck', None) or {}
|
||||
|
Loading…
Reference in New Issue
Block a user