Closed odockal closed 5 months ago
Does it also fail with another Dockerfile?
FROM fedora:39
RUN dnf install -y vim
Also cross-build to ARM64 on AMD64.
Error:(HTTP code 400) unexpected - failed to parse query parameter 'platform': "linux/amd64,linux/arm64": invalid platform syntax for --platform
Ah, could it be that you selected both architectures at the same time? That is a (known) bug. If so, please select only one at a time.
Must be hitting https://github.com/containers/podman-desktop/issues/6236.
Before closing, let's re-verify that cross-build works on Windows.
Does it also fail with another Dockerfile?
FROM fedora:39 RUN dnf install -y vim
Also cross-build to ARM64 on AMD64.
That is what I tried, building ARM on actual AMD64 system. The result is the same. I cannot cross build.
Error:(HTTP code 400) unexpected - failed to parse query parameter 'platform': "linux/amd64,linux/arm64": invalid platform syntax for --platform
Ah, could it be that you selected both architectures at the same time? That is a (known) bug. If so, please select only one at a time.
Yes. Selecting both at the same time. I know about the issue on podman-desktop side, just wanted to make sure you also know about it.
Thanks! Closing as it's a bug in Podman Desktop.
I am trying to build an image using container file from readme. When I am on amd64 arch (win 10) and I try to build an image also for arm64 it fails for me:
Steps to reproduce:
Building image on both target architectures/platforms at once also fails: