muslrust icon indicating copy to clipboard operation
muslrust copied to clipboard

Docker environment for building musl based static linux rust binaries

Results 25 muslrust issues
Sort by recently updated
recently updated
newest added

This PR hopes to enable `aarch64` static rust binaries. However currently it seems that rust is still looking for `libgcc_s.so.1` currently, some more details in issues [here](https://github.com/rust-lang/rustup/issues/2213) and [here](https://github.com/rust-lang/rust/issues/82521).

https://github.com/aws/aws-lc is needed for default builds of [rustls 0.23](https://github.com/rustls/rustls/releases/tag/v%2F0.23.0). this is seen in [their features](https://github.com/rustls/rustls/blob/9ef2150472a9b3363bc081870685fe4c26404715/rustls/Cargo.toml#L18-L37) and [blog post](https://www.memorysafety.org/blog/rustls-with-aws-crypto-back-end-and-fips/) spotted via a [test error a few days ago](https://github.com/clux/muslrust/actions/runs/8100786399/job/22139536117#step:11:382): ``` Compiling ring...

Current diff is tiny: ```diff --- Dockerfile.x86_64 2024-02-27 19:26:58.125640186 +0000 +++ Dockerfile.arm64 2024-02-27 19:26:58.125640186 +0000 @@ -1,3 +1,4 @@ +# syntax=docker/dockerfile:1 FROM ubuntu:jammy LABEL maintainer="Eirik Albrigtsen " @@ -38,14 +39,14...

Hello, While doing cargo build with clux/muslrust image, we are getting below error. Does anyone has any idea please? ``` = note: /usr/bin/ld: /volume/target/x86_64-unknown-linux-musl/release/deps/libpq_sys-3311ced5b388d271.rlib(fe-secure-openssl.o): in function `initialize_SSL': fe-secure-openssl.c:(.text+0x14d8): undefined reference...

Running on Mac M1 Commandline: docker run -v $PWD:/volume --rm -t clux/muslrust:stable cargo build --release error: failed to run custom build command for `ring v0.16.20` Caused by: process didn't exit...

help wanted

Certain domains (for me it's github.com) always fail to resolve *in rootless Docker* when the image is built with muslrust: ## main.rs ```rust use std::net::ToSocketAddrs; fn main() { let domains...

It would be awesome to use [mold](https://github.com/rui314/mold) to build. What do you think about?

enhancement
help wanted

I'm new to muslrust, and I'm having to use it to compile a binary for the `x86_64-unknown-linux-musl` target -- one thing I noticed, compared to other containers like `rust`, is...

Hi all 👋 first of all I wish you a wonderful new year. I was working with the stable image version of clux/muslrust and run into some issue installing diesel_cli....

Given sudden protobuf inclusion from there, and it being such a popular dependency, we should have a test here for it to catch changes more easily. https://github.com/clux/muslrust/issues/105#issuecomment-1290876706 suggests we might...