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

Static binaries #28

Merged
merged 1 commit into from
May 25, 2022
Merged

Static binaries #28

merged 1 commit into from
May 25, 2022

Conversation

someone-stole-my-name
Copy link
Contributor

Use the osusergo and netgo build tags to skip building the cgo parts. The result is a static binary that doesn't depend on the local libc.

# ldd x509-certificate-exporter
/lib/ld-musl-x86_64.so.1: x509-certificate-exporter: Not a valid dynamic program

@arcln arcln merged commit 0f6b20f into enix:master May 25, 2022
@arcln
Copy link
Member

arcln commented May 25, 2022

It seems like a good idea, thank you for your contribution.

@monkeynator
Copy link
Member

🎉 This PR is included in version 3.0.0-beta.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@monkeynator
Copy link
Member

🎉 This PR is included in version 3.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

fhitchen pushed a commit to fhitchen/x509-certificate-exporter that referenced this pull request Feb 4, 2023
Merge pull request enix#28 from someone-stole-my-name/master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants