emk / rust-musl-builder

Docker images for compiling static Rust binaries using musl-libc and musl-gcc, with static versions of useful C libraries. Supports openssl and diesel crates.
Apache License 2.0
1.54k stars 193 forks source link

[Question] Is this still maintained? #147

Open willfindlay opened 2 years ago

willfindlay commented 2 years ago

I noticed the last commit was from back in 2021 and the builds have been failing for a while, although there is a PR (#146) up recently that should fix things. I was wondering if this repo is still being maintained. If not, I would be happy to open up a permanent fork and take some PRs over there.

vbrandl commented 2 years ago

@emk mentioned he'd be willing to move the repo into a organization and add new/active maintainers. Maybe that would be an alternative.

nyurik commented 2 years ago

I ran into this issue too, and it seems it is fairly straightforward to just use default packages (used in MapLibre's Martin). For my usecase I only needed the openssl, but had to install musl-dev or else it wouldn't compile:

FROM rust:alpine

RUN apk update
RUN apk add --no-cache openssl-dev musl-dev
emk commented 2 years ago

My apologies to everyone for the slow responses!

Current status of this repo:

Today, I took a look to verify that binaries built using this image aren't vulnerable to the forthcoming critical OpenSSL vulnerability. They shouldn't be; we use OpenSSL 1.1.x, not 3.x, which is the vulnerable version.

jcaesar commented 1 year ago

https://github.com/clux/muslrust/ might be a viable alternative.