Dev container image with Rust installed via rustup, built on the debian base image.
rustup is downloaded directly from the official rustup release archive. rustup publishes no signature for rustup-init, so it is verified against a SHA-256 checksum file committed to this repository (rust/rustup-init-<arch>.sha256) rather than one fetched from the same server as the binary. The committed checksum files are kept in sync with the pinned RUSTUP_VERSION by an automated workflow and reviewed like any other change, so later tampering with the download channel cannot affect builds. Rust toolchains are managed by rustup and stored in ~/.cargo.
ghcr.io/bare-devcontainer/rust:<tag>
A ready-to-use Dev Container template for this image is available at bare-devcontainer/templates. It provides the recommended configuration for this image, including security hardening and volume mounts that persist cache directories for faster rebuilds.
| Tags | Debian variant |
|---|---|
1.29.0-trixie, 1-trixie, trixie, 1.29.0, 1 |
trixie |
1.29.0-bookworm, 1-bookworm, bookworm |
bookworm |
Tags are also published with a date suffix on each build (e.g., 1.29.0-trixie-<YYYYMMDD>).
Everything from the debian base image, plus:
Note that Rust toolchain is not installed by default since most projects will specify a toolchain in their rust-toolchain.toml file.