mirror of
https://github.com/containers/podman.git
synced 2025-06-23 10:38:20 +08:00
specgen: honor empty args for entrypoint
Users should be able to override containers entrypoint using `--entrypoint ""` following works fine for podman but not for podman remote. Specgen ignores empty argument for entrypoint so make specgen honor empty arguments. Signed-off-by: Aditya Rajan <arajan@redhat.com>
This commit is contained in:
@ -103,7 +103,6 @@ ENTRYPOINT ["grep", "Alpine", "/etc/os-release"]
|
||||
})
|
||||
|
||||
It("podman run user entrypoint overrides image entrypoint and image cmd", func() {
|
||||
SkipIfRemote("#12521: podman-remote not handling passing empty --entrypoint")
|
||||
dockerfile := `FROM quay.io/libpod/alpine:latest
|
||||
CMD ["-i"]
|
||||
ENTRYPOINT ["grep", "Alpine", "/etc/os-release"]
|
||||
|
Reference in New Issue
Block a user