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 the Docker image on any platform #309

Merged
merged 1 commit into from
Nov 29, 2022

Conversation

hakman
Copy link
Contributor

@hakman hakman commented Aug 23, 2022

The resulting Docker image should have the same platform, no matter where it's built.
This change will make sure both the binaries and the base image are always linux/amd64.

I also updated the Alpline Linux image to 3.16, as 3.13 is approaching end of support.

@github-actions
Copy link

This PR has been marked as stale because it has not had recent activity. The bot will close the PR if no further action occurs.

@github-actions github-actions bot added the Stale label Nov 21, 2022
@hakman
Copy link
Contributor Author

hakman commented Nov 21, 2022

@apricote Was wondering if this approach if of any use in general.
My use case was to be able to be build on a M1 Mac.

@github-actions github-actions bot removed the Stale label Nov 22, 2022
@apricote
Copy link
Member

@apricote Was wondering if this approach if of any use in general. My use case was to be able to be build on a M1 Mac.

Thanks for the contribution! It certainly is in my opinion, we should make sure that anyone can contribute to the project, whether they use ARM or x86_64.

@apricote apricote merged commit 6e367ad into hetznercloud:main Nov 29, 2022
@hakman hakman deleted the build_on_other_platforms branch November 29, 2022 09:26
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 this pull request may close these issues.

None yet

2 participants