11FROM ghcr.io/rust-cross/rust-musl-cross:x86_64-musl AS musl_x86_64
22FROM ghcr.io/rust-cross/rust-musl-cross:aarch64-musl AS musl_aarch64
33
4- FROM rust:1.80.1 -slim-bookworm AS build-base
4+ FROM rust:1.82.0 -slim-bookworm AS build-base
55
66# Prepopulate cargo index and install dependencies
77RUN cargo search --limit=1 && \
@@ -28,20 +28,20 @@ RUN rustup target add \
2828 x86_64-unknown-linux-gnu \
2929 aarch64-unknown-linux-gnu && \
3030 rustup component add clippy rustfmt && \
31- cargo install cargo-chef@0.1.67 cargo-license@0.6.1
31+ cargo install cargo-chef@0.1.68 cargo-license@0.6.1
3232
3333# Install `just`
3434RUN curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --to /usr/local/bin
3535
3636# Install `sccache` and `buf` in a single layer
3737ARG TARGETARCH
3838RUN arch=$(echo "$TARGETARCH" | sed s/arm64/aarch64/ | sed s/amd64/x86_64/) && \
39- curl -LSfs https://github.com/mozilla/sccache/releases/download/v0.7.4 /sccache-v0.7.4 -${arch}-unknown-linux-musl.tar.gz -o sccache.tar.gz && \
39+ curl -LSfs https://github.com/mozilla/sccache/releases/download/v0.8.2 /sccache-v0.8.2 -${arch}-unknown-linux-musl.tar.gz -o sccache.tar.gz && \
4040 tar -xvf sccache.tar.gz && \
4141 rm sccache.tar.gz && \
42- cp sccache-v0.7.4 -${arch}-unknown-linux-musl/sccache /usr/bin/sccache && \
43- rm -rf sccache-v0.7.4 -${arch}-unknown-linux-musl && \
44- curl -sSL "https://github.com/bufbuild/buf/releases/download/v1.29.0 /buf-Linux-${arch}" -o "/usr/bin/buf" && \
42+ cp sccache-v0.8.2 -${arch}-unknown-linux-musl/sccache /usr/bin/sccache && \
43+ rm -rf sccache-v0.8.2 -${arch}-unknown-linux-musl && \
44+ curl -sSL "https://github.com/bufbuild/buf/releases/download/v1.47.2 /buf-Linux-${arch}" -o "/usr/bin/buf" && \
4545 chmod +x "/usr/bin/buf"
4646
4747# Copy musl from the prebuilt x86_64 and aarch64 images
0 commit comments