zeroclaw/dev/ci/Dockerfile
fettpl 47e5483ade ci: pin cargo-audit to 0.22.1 in dev CI Dockerfile
Match the version pinned in the security workflow to ensure
reproducible CI builds.

Closes #362

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 17:50:17 +01:00

22 lines
586 B
Docker

# syntax=docker/dockerfile:1.7
FROM rust:1.92-slim
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
git \
pkg-config \
libssl-dev \
curl \
&& rm -rf /var/lib/apt/lists/*
RUN rustup toolchain install 1.92 --profile minimal --component rustfmt --component clippy
RUN --mount=type=cache,target=/usr/local/cargo/registry \
--mount=type=cache,target=/usr/local/cargo/git \
cargo install --locked cargo-audit --version 0.22.1 && \
cargo install --locked cargo-deny --version 0.18.5
WORKDIR /workspace
CMD ["bash"]