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

Slim docker musl #233

Merged
merged 9 commits into from
Aug 12, 2020
Merged

Slim docker musl #233

merged 9 commits into from
Aug 12, 2020

Conversation

brainstorm
Copy link
Member

@brainstorm brainstorm commented Aug 12, 2020

Solves the debugging issues (non --release builds breaking because of compressed debug symbols).... as observed in #231.

Also general cleanup, reducing final docker image size. Further cleanups expected if cross-rs/cross#452 passes and gets merged in, otherwise we'll be using brainstorm/cross-x86_64-unknown-linux-musl:upstream for now.

The cloudflare speedups on zlib will have to wait until rust-lang/libz-sys#63 (comment) gets approved/repointed. ... I'll experiment with this crate in a separate PR:

https://crates.io/crates/cloudflare-zlib-sys

@brainstorm brainstorm requested a review from nlhepler August 12, 2020 03:45
…udflare must be fixed upstream, not here. Only LLVM is needed at this point via docker, the (broken) htslib Makefile to build.rs transition that @pmarks did, simplified all this significantly, kudos
@brainstorm brainstorm requested a review from pmarks August 12, 2020 05:04
Copy link
Contributor

@pmarks pmarks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice! much simpler!

@juliangehring
Copy link
Contributor

@brainstorm Can the libdeflate feature still be used when it gets removed in the Dockerfile.gnu or is it blocked by the issue as the cloudflare-based compression?

@brainstorm
Copy link
Member Author

brainstorm commented Aug 12, 2020

@juliangehring Two different beasts: libdeflate is a separate crate than zlib... but thanks to your question I found this crate: https://crates.io/crates/cloudflare-zlib-sys ... for which I'll be pullrequesting soon ;)

To your question: yes, libdeflate should be pulled by its -sys crate automatically, so no previous system install should be needed, AFAICT... please correct me if I'm wrong!

Other than that, I think this PR is good to merge.

@brainstorm brainstorm merged commit 1cbd8cb into rust-bio:master Aug 12, 2020
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.

3 participants