From c139b1aeb78c1fb73acd34760a2d63a6573f5959 Mon Sep 17 00:00:00 2001 From: Avi Deitcher Date: Sun, 18 Aug 2024 10:11:21 +0300 Subject: [PATCH] Use alpine 3.20; lock cargo-chef and cargo-sbom versions Signed-off-by: Avi Deitcher --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 42ad1d7..ed3b062 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ ARG RUST_VERSION=1.80.1 -FROM rust:${RUST_VERSION}-alpine3.19 +FROM rust:${RUST_VERSION}-alpine3.20 ENV TARGETS="x86_64-unknown-linux-musl aarch64-unknown-linux-musl x86_64-unknown-linux-gnu aarch64-unknown-linux-gnu riscv64gc-unknown-linux-gnu" RUN rustup target add ${TARGETS} # needed for cargo-chef and cargo-sbom, as well as many other compilations RUN apk add musl-dev linux-headers make -RUN cargo install cargo-chef cargo-sbom +RUN cargo install cargo-chef@0.1.67 cargo-sbom@0.9.1