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…

  • Development
  • Tools & Utilities
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

  • Unraid (not listed)
  • TrueNAS (not listed)
  • Umbrel (not listed)
  • ZimaOS (not listed)
  • Proxmox (not listed)
  • Helm (not listed)
  • Mac (not listed)
  • Windows (not listed)
  • Linux (not listed)
  • Any server (not listed)

Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.

29/100 Low

Maintained
0last commit 930 days ago
Popular
641,590 GitHub stars
Easy to install
250 install platforms, install notes, Docker image
Light to run
No data
Security check
48no serious findings, 11 minor, CI, OpenSSF Scorecard 3/10

Based on 4 of 5 factors.

GitHub stars
1,590
Open issues
18
Last commit
2024-05-04
License
Apache-2.0
Activity
stale

Checked 2 days ago - source: GitHub (emk/rust-musl-builder)

Resources & Compatibility

ARM (e.g. Raspberry Pi) is not supported.

Checked 54 days ago - source: Docker Hub image tags and published docs

First-install notes

  • Getting started Use the DeepWiki getting-started page for initial setup steps, basic Docker commands, and common usage patterns when creating static Rust binaries. source

Fetched 42 days ago - each note links to its source

Alternatives (8)

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

Checked 40 days ago - source: AlternativeTo

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.

Answers sourced from dev.to, github.com, github.com, www.reddit.com

Community

Collected 48 days ago - public community threads