From 730e0740403787d514a59d3ef4fa309c21393b39 Mon Sep 17 00:00:00 2001 From: Chris Nixon Date: Mon, 31 Jul 2023 14:59:00 +0100 Subject: [PATCH] Bump sccache to 0.5 --- rust/debian/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rust/debian/Dockerfile b/rust/debian/Dockerfile index 357e4a9..4b55940 100644 --- a/rust/debian/Dockerfile +++ b/rust/debian/Dockerfile @@ -35,14 +35,14 @@ RUN --mount=type=secret,id=aws,target=/root/.aws/credentials \ # Install sccache for this image \ curl --retry 10 -LsSf "${CARGO_BINSTALL_URL_BASE}/cargo-binstall-${!BUILDARCH}-unknown-linux-musl.tgz" \ | tar -xzC /usr/local/bin/ && \ - cargo binstall -y -q sccache --version 0.3 --no-symlinks --install-path /usr/local/bin \ + cargo binstall -y -q sccache --version 0.5.4 --no-symlinks --install-path /usr/local/bin \ --target=${!BUILDARCH}-unknown-linux-musl && \ echo "installed build build image sccache" && \ if [ -n "$SCCACHE_BUCKET" ]; then export RUSTC_WRAPPER=/usr/local/bin/sccache; fi && \ if [ -z "$SCCACHE_ENDPOINT" ]; then unset SCCACHE_ENDPOINT; fi && \ if [ ! -z ${RUSTC_WRAPPER+x} ]; then echo "starting sccache server"; while sccache --start-server; do echo "starting sccache server"; done; fi; \ # Add sccache cargo-flamegraph, cargo-audit, cargo-cache, etc \ - cargo install -q sccache --root /out/tools --version 0.3.3 \ + cargo install -q sccache --root /out/tools --version 0.5.4 \ --features=azure,s3,openssl/vendored --no-default-features \ --target=${!TARGETARCH}-unknown-linux-musl && \ echo "built build image sccache" && \