Skip to content
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

Multi-arch Docker build #324

Open
rnsc opened this issue May 29, 2021 · 7 comments · May be fixed by #381
Open

Multi-arch Docker build #324

rnsc opened this issue May 29, 2021 · 7 comments · May be fixed by #381

Comments

@rnsc
Copy link

rnsc commented May 29, 2021

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,

@yselkowitz
Copy link

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.

@edenhill
Copy link
Owner

PRs welcome :)

@yselkowitz
Copy link

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?

@edenhill
Copy link
Owner

edenhill commented May 3, 2022

I manually build the alpine docker image and upload it to docker hub.

@yselkowitz
Copy link

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.)

@rnsc
Copy link
Author

rnsc commented May 3, 2022

Maybe we could add a GitHub workflow then?

@edenhill
Copy link
Owner

edenhill commented May 3, 2022

Sounds good 👍

@yselkowitz yselkowitz linked a pull request May 3, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants