# 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.

Repository: https://github.com/emk/rust-musl-builder
Canonical: https://ross.abutalabs.com/products/rust-musl-builder
Language: Dockerfile
License: Apache-2.0
License Family: permissive
Last push: 2024-05-04T20:43:43+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3790, "days_push": 851, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1589, forks 192 (observed 2026-08-28T04:05:08.449957+00:00)

## What it is
A set of Docker images for compiling fully static Rust binaries against musl-libc and musl-gcc, bundling static versions of common C libraries like OpenSSL and libpq. It enables distributing Rust applications as single executables that run on any modern Linux system or in Alpine containers.

## Use cases
- build static rust binaries with docker
- compile rust with openssl statically
- build diesel apps as single binaries
- create alpine linux rust containers
- cross-compile rust for musl target
- ship rust apps with no runtime dependencies

## When to avoid
- your dependencies work with rustls instead of OpenSSL
- you can use the cross tool for musl cross-compilation
- you need an actively maintained solution

## Facets
- artifact type: infra-config
- maturity: abandoned
- function: build-tool, container-runtime, compiler
- domain: developer-tools, programming-languages
- platform: rust, cli
- tags: musl, static-linking, cross-compilation, docker-images, release-builds, devops, containers, docker, linux

## Member repositories
- emk/rust-musl-builder (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:08.449957+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:54:50.477298+00:00, confidence not recorded.
  - readme: https://github.com/emk/rust-musl-builder (fetched 2026-08-28T04:05:08.449957+00:00, sha bb4797867cd3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
