# Rust-musl-builder

Rust-musl-builder is a Docker container that compiles Rust projects into static musl C library binaries, giving developers a single portable executable that runs on most Linux systems without shared libraries. It is open source and self-hosted, installable on Docker Hub.

Canonical page: https://ourlocalhost.com/app/5987/rust-musl-builder

## Description

Rust-musl-builder is a Docker container that compiles Rust projects into static musl C library binaries, giving developers a single portable executable that runs on most Linux systems without shared libraries.

## Platform availability

Available on 0 of 10 platforms.

## Health score

29/100 (Low), based on 4 of 5 factors.
- Maintained: 0 (last commit 930 days ago)
- Popular: 64 (1,590 GitHub stars)
- Easy to install: 25 (0 install platforms, install notes, Docker image)
- Security check: 48 (no serious findings, 11 minor, CI, OpenSSF Scorecard 3/10)

## Links

- GitHub: https://github.com/emk/rust-musl-builder
- Docker Hub: https://hub.docker.com/r/nasqueron/rust-musl-builder

## Common questions

### Can rust-musl-builder build Rust binaries that depend on OpenSSL or Diesel?

Yes. The images include static versions of useful C libraries and are documented as supporting the openssl and diesel crates.

### Why would a self-hoster choose a musl-built Rust binary for a service?

Using musl eliminates dynamic dependencies, which is useful when producing a statically linked Rust binary for a containerized workload.

### Is there a common local account gotcha when building with the original image?

Building is noted to be especially easy if your local account uses UID 1000.

### Can rust-musl-builder be used in an automated release pipeline?

A companion release workflow can automatically build Linux binaries with rust-musl-builder and Mac binaries with Cargo when a new tag is pushed, then upload both to GitHub Releases.

## Alternatives

- Algodoo: Algodoo gives you the opportunity to play with physics.
- Hytale: Sandbox adventure merges procedural worlds, dungeons, block-building, responsive combat, and creator-focused tools for crafting minigames a…
- Minecraft: Minecraft is a Docker container for running Minecraft Java Edition servers, supporting vanilla, Bukkit, Forge, NeoForge, Fabric, and Quilt…
- Novetus: Tired of the roblox tyranny and greed?
- Roblox: Online platform for 3D world building, avatar customization, multiplayer play, and user-generated game development with trading, achievemen…
- Rust-Server: Rust Server is a Docker-based dedicated server for Rust, the multiplayer survival game by Facepunch Studios.
- The Roblox Browser: Browse Roblox on Mac!.
- VRChat: Join our growing community as you explore, play, and help craft the future of social VR.

---
Source: Our Local Host (https://ourlocalhost.com/app/5987/rust-musl-builder), the self-hosted and open-source app directory.
