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

Build multi-arch Docker images #135

Open
skandragon opened this issue May 10, 2022 · 0 comments
Open

Build multi-arch Docker images #135

skandragon opened this issue May 10, 2022 · 0 comments

Comments

@skandragon
Copy link
Contributor

I have a Makefile and a Dockerfile that will:

  • Build go-clouddriver inside Docker, removing the need to have a specific version installed on the build machine,
  • Build for amd64 and arm64 Linux as a single multi-arch image

This is common for us to do for most of our tools here, as we do have some customers attempting to use arm64 for some of the less CPU intensive work.

I'd appreciate suggestions on how to merge them. For now, I've not made a PR because having two Dockerfiles and two Makefiles seems wrong, but build processes are not something to jump into.

https://gist.github.com/skandragon/b5625a885fb5de8fccfa0f6798355e17 for the details.

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

No branches or pull requests

1 participant