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.
First up, fantastic script and Docker image, it has been revolutionary in getting static builds deployed through CI for me 👍
Looks like the current nightly image is broken though due to a cargo issue from last month, would it be at all possible to have a new image built from the Dockerfile? It's currently stopping me from being able to use this to deploy a Rocket app.
The error looks like the following:
mick@mick-pc ~/D/b/api (master)> ./build-release
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', /checkout/src/libcore/option.rs:323
note: Run with `RUST_BACKTRACE=1` for a backtrace.
First up, fantastic script and Docker image, it has been revolutionary in getting static builds deployed through CI for me 👍
Looks like the current nightly image is broken though due to a cargo issue from last month, would it be at all possible to have a new image built from the Dockerfile? It's currently stopping me from being able to use this to deploy a Rocket app.
The error looks like the following:
Thanks! Michael