Skip to content

Commit

Permalink
Upgrade sccache to v0.3.0
Browse files Browse the repository at this point in the history
Issue: 365150653
Reviewed-on: youtube/cobalt#4534
  • Loading branch information
isarkis authored and dahlstrom-g committed Dec 10, 2024
1 parent 32eb859 commit bd53a69
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion cobalt/docker/linux/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,16 @@ RUN apt-get update && apt-get install -y \
jq \
&& rm -rf /var/lib/apt/lists/*

ADD files/sccache /usr/local/bin
# === Install portable sccache binary
ARG SCCACHE=sccache-v0.3.0-x86_64-unknown-linux-musl.tar.gz
ARG SCCACHE_SHA256=e6cd8485f93d683a49c83796b9986f090901765aa4feb40d191b03ea770311d8
RUN cd /tmp \
&& curl -L -O https://github.com/mozilla/sccache/releases/download/v0.3.0/${SCCACHE} \
&& echo "${SCCACHE_SHA256} *${SCCACHE}" | sha256sum -c - \
&& tar xvzf ${SCCACHE} -C /usr/local/bin --strip-components=1 \
&& chmod +x /usr/local/bin/sccache \
&& rm -rf ${SCCACHE} \
&& sccache --version

# TODO: b/379174067 - Move variables out of container.
ENV SCCACHE_GCS_BUCKET=githubactions-chrome-sccache
Expand Down
Binary file removed cobalt/docker/linux/files/sccache
Binary file not shown.

0 comments on commit bd53a69

Please sign in to comment.