File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,8 @@ 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
25+ ARG SCCACHE_VERSION=v0.8.2
26+ ARG SCCACHE_REPO=https://github.com/mozilla/sccache
2627ARG WITH_CRIMSON=true
2728COPY --from=bootstrap ${CEPH_CTR_SRC} ${CEPH_CTR_SRC}
2829# Note that we do not use ENV for the following. This is because we do not
@@ -34,5 +35,6 @@ RUN DISTRO=$DISTRO \
3435 WITH_CRIMSON=${WITH_CRIMSON} \
3536 bash -x ${CEPH_CTR_SRC}/buildcontainer-setup.sh
3637RUN \
37- SCCACHE_URL="https://github.com/mozilla/sccache/releases/download/v${SCCACHE_VERSION}/sccache-v${SCCACHE_VERSION}-$(uname -m)-unknown-linux-musl.tar.gz"; \
38- curl -L $SCCACHE_URL | tar --no-anchored --strip-components=1 -C /usr/local/bin/ -xzf - sccache
38+ SCCACHE_URL="${SCCACHE_REPO}/releases/download/${SCCACHE_VERSION}/sccache-${SCCACHE_VERSION}-$(uname -m)-unknown-linux-musl.tar.gz"; \
39+ echo "${SCCACHE_URL}"; \
40+ curl -sS -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