You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i think --arch is a string in podman and buildah and therefore can only be one of them? I don't see anything about a list or concatenating them with commas.
Yes, --arch expects only one value. At some point we figured out that trying to support multiple values for that made it hard to figure out how flags that combine with it like --os and --variant would be expected to work. Using --platform to specify them as one or more groups is easier (for me, at least) to reason about, and --platform started accepting a comma-separated list of platform specs in buildah 1.23, which was in the podman 3.4 era. I think there might be some logic to try to make it work if we notice that --arch was given a list, but I'd recommend using --platform instead regardless.
But anyway, did yum output any error information when it failed? Is it crashing, or trying to do something that the emulator can't make work? Does an arm64 build succeed?
Issue Description
While preparing a demo, I'm trying to build https://github.com/redhat-developer/podman-desktop-demo/blob/main/primary-podify-demo/front/Dockerfile or https://github.com/redhat-developer/podman-desktop-demo/blob/main/primary-podify-demo/backend/Dockerfile with multi arch and got an error while building the amd64 image
Steps to reproduce the issue
Steps to reproduce the issue
podman build . --arch arm64,amd64
Describe the results you received
Error: [linux/amd64]: building at STEP "RUN yum install --installroot /mnt/rootfs coreutils-single curl shadow-utils --releasever 8 --nodocs -y && yum --installroot /mnt/rootfs clean all && rm -rf /mnt/rootfs/var/cache/* /mnt/rootfs/var/log/dnf* /mnt/rootfs/var/log/yum.*": while running runtime: exit status 1
Describe the results you expected
Build success
podman info output
Podman in a container
No
Privileged Or Rootless
None
Upstream Latest Release
No
Additional environment details
Apple M2 Pro
Additional information
Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting
The text was updated successfully, but these errors were encountered: