Skip to content

Commit c139b1a

Browse files
committed
Use alpine 3.20; lock cargo-chef and cargo-sbom versions
Signed-off-by: Avi Deitcher <[email protected]>
1 parent 149caae commit c139b1a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
ARG RUST_VERSION=1.80.1
2-
FROM rust:${RUST_VERSION}-alpine3.19
2+
FROM rust:${RUST_VERSION}-alpine3.20
33
ENV TARGETS="x86_64-unknown-linux-musl aarch64-unknown-linux-musl x86_64-unknown-linux-gnu aarch64-unknown-linux-gnu riscv64gc-unknown-linux-gnu"
44
RUN rustup target add ${TARGETS}
55

66
# needed for cargo-chef and cargo-sbom, as well as many other compilations
77
RUN apk add musl-dev linux-headers make
8-
RUN cargo install cargo-chef cargo-sbom
8+
RUN cargo install cargo-chef@0.1.67 cargo-sbom@0.9.1

0 commit comments

Comments
 (0)