-
Notifications
You must be signed in to change notification settings - Fork 644
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
podman build fails with given buildx platforms #1832
Comments
This looks a bit strange. We use docker CLI for doing buildx based builds. Do you know if podman has complete support for buildx? Or maybe command name is different in case of podman?
|
From my understanding it should have, but it may use other cli-params: $> podman buildx --help
Build images
Description:
Build images
Usage:
podman buildx [command]
Aliases:
buildx, builder
Available Commands:
build Build an image using instructions from Containerfiles
prune Remove unused images
version Print build version |
Maybe this Redhat Developer Blog Post helps a bit, describing the multi-architecture-build for Docker and Podman. Do we even require buildx for multi-architecture build? |
IMO this problem is due to the fact that Docker handles multi-arch builds very differently from Podman. While Docker uses the command However, I still have a problem: When building for architectures different from the current one, the build does not succeed, because it seems like either the appropriate Qemu-binaries are not used or the wrong images are pulled. I am not sure wether is is a me-problem or a general one. Maybe someone here wants to give a try? You can finde it here: Docker-Podman-Wrapper. Any feedback is appreciated! |
Description
I'm using docker-maven-plugin with podman, which was working fine so far.
After I added the configuration for a specific build platform (linux/amd64), the builds fails with
The section added to the docker-maven-plugin config (in "configuration.images.image.build") was:
With
docker.platforms = linux/amd64
.NOTE:
linux/amd64
is the native platform architecture. An alternate profile shall also perform builds forlinux/arm64
.Info
mvn -v
) :DockerPodman version : 4.9.4-rhelIt should probably sufficient to add the above buildx config to trigger the error.
The text was updated successfully, but these errors were encountered: