Skip to content

Commit

Permalink
Use alpine 3.20; lock cargo-chef and cargo-sbom versions
Browse files Browse the repository at this point in the history
Signed-off-by: Avi Deitcher <[email protected]>
  • Loading branch information
deitch committed Aug 18, 2024
1 parent 149caae commit c139b1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit c139b1a

Please sign in to comment.