stoat-rust-quality-toolchain (1.92.0)

Published 2026-08-07 09:07:55 +00:00 by administrator

Installation

docker pull repo.andraxion.net/administrator/stoat-rust-quality-toolchain:1.92.0
sha256:c8a92554f265aa1f7745c73543af9bc3c55f4d0e113d99d8e2961ab6e3d4d1e3

About this package

Owned offline Rust toolchain with Clippy and rustfmt

Image layers

# debian.sh --arch 'amd64' out/ 'bookworm' '@1768176000'
LABEL org.opencontainers.image.source=https://github.com/rust-lang/docker-rust
ENV RUSTUP_HOME=/usr/local/rustup CARGO_HOME=/usr/local/cargo PATH=/usr/local/cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUST_VERSION=1.92.0
RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates gcc libc6-dev wget ; arch="$(dpkg --print-architecture)"; case "$arch" in 'amd64') rustArch='x86_64-unknown-linux-gnu'; rustupSha256='20a06e644b0d9bd2fbdbfd52d42540bdde820ea7df86e92e533c073da0cdd43c'; ;; 'armhf') rustArch='armv7-unknown-linux-gnueabihf'; rustupSha256='3b8daab6cc3135f2cd4b12919559e6adaee73a2fbefb830fadf0405c20231d61'; ;; 'arm64') rustArch='aarch64-unknown-linux-gnu'; rustupSha256='e3853c5a252fca15252d07cb23a1bdd9377a8c6f3efa01531109281ae47f841c'; ;; 'i386') rustArch='i686-unknown-linux-gnu'; rustupSha256='a5db2c4b29d23e9b318b955dd0337d6b52e93933608469085c924e0d05b1df1f'; ;; 'ppc64el') rustArch='powerpc64le-unknown-linux-gnu'; rustupSha256='acd89c42b47c93bd4266163a7b05d3f26287d5148413c0d47b2e8a7aa67c9dc0'; ;; 's390x') rustArch='s390x-unknown-linux-gnu'; rustupSha256='726b7fd5d8805e73eab4a024a2889f8859d5a44e36041abac0a2436a52d42572'; ;; *) echo >&2 "unsupported architecture: $arch"; exit 1; ;; esac; url="https://static.rust-lang.org/rustup/archive/1.28.2/${rustArch}/rustup-init"; wget --progress=dot:giga "$url"; echo "${rustupSha256} *rustup-init" | sha256sum -c -; chmod +x rustup-init; ./rustup-init -y --no-modify-path --profile minimal --default-toolchain $RUST_VERSION --default-host ${rustArch}; rm rustup-init; chmod -R a+w $RUSTUP_HOME $CARGO_HOME; apt-get remove -y --auto-remove wget ; rm -rf /var/lib/apt/lists/*; rustup --version; cargo --version; rustc --version; # buildkit
USER 0:0
RUN /bin/sh -c apt-get update && apt-get install --no-install-recommends -y libssl-dev make pkg-config && rm -rf /var/lib/apt/lists/* # buildkit
ARG RUST_VERSION
ARG RUST_RELEASE_DATE RUST_VERSION
ARG RUST_RELEASE_DATE RUST_SIGNING_KEY_FINGERPRINT RUST_VERSION
ARG CLIPPY_SHA256 RUST_RELEASE_DATE RUST_SIGNING_KEY_FINGERPRINT RUST_VERSION
ARG CLIPPY_SHA256 RUSTFMT_SHA256 RUST_RELEASE_DATE RUST_SIGNING_KEY_FINGERPRINT RUST_VERSION
LABEL org.opencontainers.image.title="Stoat Rust quality toolchain" org.opencontainers.image.description="Owned offline Rust toolchain with Clippy and rustfmt" org.opencontainers.image.source="https://repo.andraxion.net/administrator/stoat-backend-dev" org.opencontainers.image.version="${RUST_VERSION}" net.andraxion.rust.release-date="${RUST_RELEASE_DATE}" net.andraxion.rust.signing-key="${RUST_SIGNING_KEY_FINGERPRINT}" net.andraxion.rust.clippy-sha256="${CLIPPY_SHA256}" net.andraxion.rust.rustfmt-sha256="${RUSTFMT_SHA256}"
COPY dir:795389f5e8d0ccc10332d14fa9be45d2ab9d78a5903e9217bc82f3efe5582a4f in /tmp/components
|5 CLIPPY_SHA256=cd63fc19e6047742b735e959ed615f2013df5a0653913ec37a7e17fe9b0f99d7 RUSTFMT_SHA256=106cf8b4d37283445d4d79052d7fd7dd75059e5be9af8a8185e401c1b45276e2 RUST_RELEASE_DATE=2025-12-11 RUST_SIGNING_KEY_FINGERPRINT=108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE RUST_VERSION=1.92.0 /bin/sh -c printf '%s %s\n' "${CLIPPY_SHA256}" /tmp/components/clippy.tar.gz "${RUSTFMT_SHA256}" /tmp/components/rustfmt.tar.gz | sha256sum --check --strict - && rust_sysroot=$(rustc --print sysroot) && mkdir /tmp/components/clippy /tmp/components/rustfmt && tar -xzf /tmp/components/clippy.tar.gz --strip-components=1 --directory=/tmp/components/clippy && tar -xzf /tmp/components/rustfmt.tar.gz --strip-components=1 --directory=/tmp/components/rustfmt && /tmp/components/clippy/install.sh --prefix="${rust_sysroot}" --disable-ldconfig && /tmp/components/rustfmt/install.sh --prefix="${rust_sysroot}" --disable-ldconfig && rm -rf /tmp/components && cargo clippy --version && cargo fmt --version

Labels

Key Value
io.buildah.version 1.43.2
net.andraxion.rust.clippy-sha256 cd63fc19e6047742b735e959ed615f2013df5a0653913ec37a7e17fe9b0f99d7
net.andraxion.rust.release-date 2025-12-11
net.andraxion.rust.rustfmt-sha256 106cf8b4d37283445d4d79052d7fd7dd75059e5be9af8a8185e401c1b45276e2
net.andraxion.rust.signing-key 108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE
org.opencontainers.image.description Owned offline Rust toolchain with Clippy and rustfmt
org.opencontainers.image.source https://repo.andraxion.net/administrator/stoat-backend-dev
org.opencontainers.image.title Stoat Rust quality toolchain
org.opencontainers.image.version 1.92.0
Details
Container
2026-08-07 09:07:55 +00:00
40
OCI / Docker
linux/amd64
324 MiB
Versions (1) View all
1.92.0 2026-08-07