Open jdelker opened 1 month ago
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?
[WARNING] DOCKER> Error: unrecognized command `podman buildx ls`
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?
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-rhel