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

Respect docker platform by removing GOARCH fromgo build #155

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

kaovilai
Copy link
Member

@kaovilai kaovilai commented Oct 14, 2022

ie. Let docker platform decide what GOARCH should be.

If you are on arm64 and want to build image to run on amd64 node then specify during build --platform linux/amd64 in docker/podman build

@kaovilai kaovilai changed the title Respect docker platform by removing GOARCH from dockerfile Respect docker platform by removing GOARCH fromgo build Oct 14, 2022
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.

1 participant