Skip to content
Snippets Groups Projects
Commit cc055dc8 authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

ccache: use CCACHE_DIR

parent 1bf62aba
No related branches found
No related tags found
No related merge requests found
......@@ -121,11 +121,13 @@ ADD https://api.github.com/repos/eic/ip6 /tmp/ip6.json
ADD https://api.github.com/repos/eic/epic /tmp/epic.json
COPY setup_detectors.py /tmp
COPY detectors.yaml /tmp
RUN --mount=type=cache,target=/root/.ccache/ \
ENV CCACHE_DIR=/ccache
RUN --mount=type=cache,target=/ccache/ \
cd /tmp \
&& [ "z$NIGHTLY" = "z1" ] && NIGHTLY_FLAG="--nightly" || NIGHTLY_FLAG="" \
&& /tmp/setup_detectors.py --prefix /opt/detector --config /tmp/detectors.yaml \
$NIGHTLY_FLAG \
&& ccache --show-stats \
&& rm /tmp/setup_detectors.py
## Hotfix for misbehaving OSG nodes
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment