Eureka/tools/stopgap/rust.Dockerfile

8 lines
514 B
Text
Raw Normal View History

# STOPGAP image for ygg-verify.sh: Rust plus cargo-mutants, the ecosystem
# mutation tool Soul runs on a cut's diff, plus the Windows GNU std so a job can
# `cargo check --target x86_64-pc-windows-gnu` without downloading it. It dies
# with ygg-verify.sh (see that file's deletion line). ygg-verify.sh tags the
# image by this file's hash, so an edit here rebuilds it.
FROM rust:1.95-bookworm
RUN rustup target add x86_64-pc-windows-gnu
RUN cargo install --locked cargo-mutants && rm -rf /usr/local/cargo/registry