kcat
kcat copied to clipboard
Multi-arch Docker build
Hello,
Would it be possible to have a multi arch Docker build so that we can pull from the Docker Hub even on ARM64 platform?
Thanks,
Kind regards,
We would like to see this as well for all four Red Hat architectures: linux/amd64,linux/arm64,linux/ppc64le,linux/s390x. This can be accomplished with either docker buildx or recent versions of podman.
PRs welcome :)
It's a matter of how the container build is controlled, but I don't see any automation in the repo. How are you driving the container builds?
I manually build the alpine docker image and upload it to docker hub.
In that case, instead of your usual docker build
and docker push
commands, you can use docker buildx
, e.g.:
docker buildx build --platform linux/amd64,linux/arm64/v8,linux/ppc64le,linux/s390x --push -t docker.io/edenhill/kcat:1.8.0 .
(Note that if you're using docker buildx
for the first time, some initial setup may be required; see the documentation for details.)
Maybe we could add a GitHub workflow then?
Sounds good 👍