On Tue, Mar 10, 2026 at 2:49 AM Yiding Liu (Fujitsu) <[email protected]>
wrote:
> Hi Bruce
> I found an issue about OCI_IMAGE_CMD ?= "/bin/sh" when I use the
> container-app-base image.
>
> $ podman run --rm f0d79291ef08
> date: invalid date '/bin/sh'
>
> The issue was caused by the Entrypoint and Cmd are both defined, and
> cmd will be the append args of date,
> Which caused the output error.
>
> $ podman inspect f0d79291ef08
> ...
> "Config": {
> "Entrypoint": [
> "date"
> ],
> "Cmd": [
> "/bin/sh"
> ],
> ...
>
> I think make OCI_IMAGE_CMD as empty can solve this issue, what do you
> think about it?
> OCI_IMAGE_CMD ?= ""
>
Nope. You can override that yourself.
The current defaults have been extensively tested and modified just
recently to make the entrypoint work in more scenarios.
Check git history for all the details.
Bruce
>
> $ podman run --rm 70306dacdc4a
> Tue Mar 10 06:27:42 UTC 2026
>
> Liu
>
>
--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end
- "Use the force Harry" - Gandalf, Star Trek II
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9632):
https://lists.yoctoproject.org/g/meta-virtualization/message/9632
Mute This Topic: https://lists.yoctoproject.org/mt/118236848/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-