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>
22 lines
586 B
Docker
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"]
|