HUB
Sign inSign up

douman/rust-musl

By douman

•Updated 1 day ago

Minimal container to build mostly Rust and C/C++ projects

Image
Languages & frameworks
0

10K+

douman/rust-musl repository overview

⁠rust-musl

Build Hub Quay

Minimal container to build mostly pure Rust projects using x86_64-unknown-linux-musl as default.

⁠Properties

  • lld is used as default linked via environment variable RUSTFLAGS. This will stop being necessary once default linker shifts to lld on musl targets
  • musl-dev, make, git and g++ are installed to provide sufficient baseline for compiling C world dependencies
  • rustup and all installed binaries are stripped aggressively if necessary
  • cmake generally tool you need to build C/C++ dependencies
  • ninja good alternative to make and used by cmake by default to speed up builds of your C/C++ dependencies
  • cargo-auditable CLI utility allows to embed dependencies into binary. Use cargo auditable in the same way as cargo build

⁠Tags

Container ship tags with full and short rustc versions

Following tags are provided:

  • latest - Latest rustc on latest Alpine container
  • <rustc_version> - Tag with short version
  • <rustc_version>-<alpine_version> - Tag with rustc short version with alpine tag

⁠Rebuilt

If you need to rebuild specific version of container feel free to use workflow for this purpose and specify desired version: https://github.com/DoumanAsh/rust-musl/actions/workflows/docker-image.yml⁠

Only collaborator is allowed to trigger workflow, feel free to create issue to request access.

Tag summary

Content type

Image

Digest

sha256:a82b3fef3…

Size

404.2 MB

Last updated

1 day ago

docker pull douman/rust-musl