Skip to content

Commit

Permalink
Bump sccache to 0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
c-nixon committed Jul 31, 2023
1 parent 5a067bf commit 730e074
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rust/debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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" && \
Expand Down

0 comments on commit 730e074

Please sign in to comment.