File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ ARG DISTRO
2222ARG CEPH_CTR_SRC=/usr/local/src/ceph
2323ARG CLEAN_DNF=yes
2424ARG CEPH_BASE_BRANCH=main
25+ ARG SCCACHE_VERSION=0.8.2
2526COPY --from=bootstrap ${CEPH_CTR_SRC} ${CEPH_CTR_SRC}
2627# Note that we do not use ENV for the following. This is because we do not
2728# want them permamently stored in the container's layer.
@@ -30,3 +31,6 @@ RUN DISTRO=$DISTRO \
3031 CLEAN_DNF=$CLEAN_DNF \
3132 CEPH_CTR_SRC=${CEPH_CTR_SRC} \
3233 bash -x ${CEPH_CTR_SRC}/buildcontainer-setup.sh
34+ RUN \
35+ SCCACHE_URL="https://github.com/mozilla/sccache/releases/download/v${SCCACHE_VERSION}/sccache-v${SCCACHE_VERSION}-$(uname -m)-unknown-linux-musl.tar.gz"; \
36+ curl -L $SCCACHE_URL | tar --no-anchored --strip-components=1 -C /usr/local/bin/ -xzf - sccache
You can’t perform that action at this time.
0 commit comments