Update sccache on linux.

This commit is contained in:
Josh Matthews 2020-12-02 08:20:33 -05:00
parent d135e54d31
commit 79934a5733

View file

@ -46,10 +46,8 @@ RUN \
# #
# Install the version of rustup that is current when this Docker image is being built: # Install the version of rustup that is current when this Docker image is being built:
# We want at least 1.21 (increment in this comment to force an image rebuild). # We want at least 1.21 (increment in this comment to force an image rebuild).
curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain none --profile=minimal -y && \ curl https://sh.rustup.rs -sSf | sh -s -- --profile=minimal -y && \
# #
# # There are no sccache binary releases that include this commit, so we install a particular
curl -sSfL \ # git commit instead.
https://github.com/mozilla/sccache/releases/download/0.2.12/sccache-0.2.12-x86_64-unknown-linux-musl.tar.gz \ ~/.cargo/bin/cargo install sccache --git https://github.com/mozilla/sccache/ --rev e66c9c15142a7e583d6ab80bd614bdffb2ebcc47
| tar -xz --strip-components=1 -C /usr/local/bin/ \
sccache-0.2.12-x86_64-unknown-linux-musl/sccache