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

Adding GOOS and GOARCH to the Dockerfiles #186

Merged
merged 3 commits into from
Jul 1, 2021

Conversation

arschles
Copy link
Collaborator

This patch ensures that all Go binaries are built inside Docker images with GOOS and GOARCH env variables set. They default to GOOS=linux and GOARCH=amd64 but can be overridden via docker build arguments

Checklist

  • Commits are signed with Developer Certificate of Origin (DCO)
  • Any necessary documentation is added, such as:

Fixes #185

Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
@arschles arschles added the enhancement New feature or request label Jun 17, 2021
@arschles arschles added bug Something isn't working and removed enhancement New feature or request labels Jun 17, 2021
@arschles arschles enabled auto-merge (squash) June 17, 2021 20:54
@arschles arschles merged commit 0238aee into kedacore:main Jul 1, 2021
@arschles arschles deleted the goos-goarch branch July 1, 2021 22:33
arschles added a commit to arschles/http-add-on that referenced this pull request Aug 18, 2021
Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Binaries are not built in Dockerfiles with GOOS and GOARCH
4 participants