-
Notifications
You must be signed in to change notification settings - Fork 90
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
musl image #10
Comments
This is blocked on official dists targeting musl.
…On Sun, Oct 22, 2017 at 7:56 PM Andrew Pennebaker ***@***.***> wrote:
Would be nice to feature a :musl tag for building musl Rust binaries!
As an example, see
https://github.com/mcandre/docker-linux-rust/blob/master/musl.Dockerfile
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#10>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/ABY2UR-FkiHxZIjhUecv29RYcZqQKd4Rks5su4_egaJpZM4QCD3a>
.
|
The playground would also make good use of this :-) Right now, we use an unofficial image. |
https://github.com/japaric/cross has Docker images that include musl toolchains/libraries. |
I would also love to see an official image to link binaries against musl, since they are truly statically linked. Currently I'm using ekidd/rust-musl-builder which might be a good base to use. |
@sfackler Is there a tracking issue that we can link this issue to? :) |
I'm not aware of one off the top of my head. |
rust |
It looks like rustup doesn't yet publish a musl-based version, so we'd need to get that done first: rust-lang/rustup#1053 |
It's less convenient but you can use tarballs until rustup is fixed: https://forge.rust-lang.org/other-installation-methods.html#standalone |
Seems like rust-lang/rustup#1053 just resolved recently |
Great! It appears that a musl build isn't actually published yet, so we may need to wait for the next rustup release. |
Whats the status on this? |
There is no change on Rustup situation. It can only be installed using tarballs. |
@sfackler, what is the blocker this time? 🤔 |
There is no musl build of rustup yet. |
Rustup version 1.19 was just published with the rust-lang/rustup#1882 resolved |
Would be nice to feature a
:musl
tag for building musl Rust binaries!As an example, see https://github.com/mcandre/docker-linux-rust/blob/master/musl.Dockerfile
The text was updated successfully, but these errors were encountered: