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 ?= ""

   $ podman run --rm 70306dacdc4a
   Tue Mar 10 06:27:42 UTC 2026

Liu

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9630): 
https://lists.yoctoproject.org/g/meta-virtualization/message/9630
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]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to