-
Notifications
You must be signed in to change notification settings - Fork 77
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
Release static binaries #177
Comments
@SkyperTHC thank you for opening this. Yes, I'd like to solve this here, as the glibc mismatch has continued to be a pain point from time to time (e.g., #103), making it difficult to run on older Linux systems. I'll take a look at this. |
The desired end state: Nosey Parker releases will include an additional prebuilt releases for The v0.17.0 release has the following prebuilt artifacts:
We want to include an additional file like Notes Okay, so I tried a few things. Simply enabling the
A few minutes of research indicates that this may be a limitation of the Instead, using the @SkyperTHC does this match your experience, or am I missing something about building statically-linked Rust programs on Linux? Fully static x86_64 Linux binaries do get built within the Alpine-based Docker image. One option for building the |
The x86_64 release binary rarely works on Linux because of libc mismatches. It would be desirable to have a statically compiled binary as well.
I'm currently using these steps to compile a static binary using your
Dockerfile.alpine
:The statically compiled binary is then created in
target/x86_64-unknown-linux-musl/release/noseyparker-cli
Happy to fiddle it into hour GitHub CI/CD but feels like it would be easier for you - gimme a shout.
The text was updated successfully, but these errors were encountered: