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

Don't hardcode linux/amd64 or GO111MODULE in Dockerfile #327

Merged
merged 1 commit into from
Nov 28, 2024

Conversation

DrJosh9000
Copy link
Contributor

@DrJosh9000 DrJosh9000 commented Nov 28, 2024

GO111MODULE=on has been the default for... a while now.

GOARCH=arm64 gets in the way of building a usable image if you just want the current arch.

GOOS=linux is possibly still relevant. 🤔

Other tweaks:

  • apk add --no-cache
  • Fix Docker complaint about matching case (FROM vs as)

@DrJosh9000 DrJosh9000 force-pushed the fewer-hardcoded-assumptions branch 2 times, most recently from cddc4e4 to 914521e Compare November 28, 2024 03:21
@DrJosh9000 DrJosh9000 force-pushed the fewer-hardcoded-assumptions branch from 914521e to 21fa12a Compare November 28, 2024 03:22
@DrJosh9000 DrJosh9000 merged commit 8bc3c99 into master Nov 28, 2024
1 check passed
@DrJosh9000 DrJosh9000 deleted the fewer-hardcoded-assumptions branch November 28, 2024 03:31
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.

2 participants