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

Add build flags to create static binary #149

Merged
merged 1 commit into from
Jan 9, 2024
Merged

Conversation

ferranbt
Copy link
Collaborator

@ferranbt ferranbt commented Jan 9, 2024

📝 Summary

This PR adds the missing build flags to create a complete static binary. Otherwise, the system tries to use dynamic libraries to resolve DNS and it crashes if the libraries are not there (like in CI).

📚 References


  • I have seen and agree to CONTRIBUTING.md

@ferranbt ferranbt merged commit 75a4ee0 into main Jan 9, 2024
3 checks passed
@ferranbt ferranbt deleted the fix/netgo-build-flags branch January 9, 2024 09:27
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