Skip to content

adding CGO_ENABLED=0 to builds#31

Merged
SethHollandsworth merged 1 commit intomainfrom
portability
Nov 8, 2024
Merged

adding CGO_ENABLED=0 to builds#31
SethHollandsworth merged 1 commit intomainfrom
portability

Conversation

@SethHollandsworth
Copy link
Copy Markdown
Collaborator

this allows for more portable builds

@SethHollandsworth SethHollandsworth self-assigned this Nov 7, 2024
@BryceDFisher
Copy link
Copy Markdown

To be resistant to future changes in the linux container, you probably want all 3 env vars
CGO_ENABLED=0 GOOS=linux GOARCH=amd64

@SethHollandsworth SethHollandsworth merged commit aa4d5e3 into main Nov 8, 2024
@SethHollandsworth SethHollandsworth deleted the portability branch November 8, 2024 14:03
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.

4 participants