From cfb2fbeb59dfb1d2913ba382b6b1489dc27e4ee0 Mon Sep 17 00:00:00 2001
From: Wouter Deconinck <wdconinc@gmail.com>
Date: Fri, 17 Feb 2023 23:42:07 +0000
Subject: [PATCH] ccache --clean

---
 containers/jug/xl.Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/containers/jug/xl.Dockerfile b/containers/jug/xl.Dockerfile
index bb217dc59..c51bc0337 100644
--- a/containers/jug/xl.Dockerfile
+++ b/containers/jug/xl.Dockerfile
@@ -124,7 +124,7 @@ COPY setup_detectors.py /tmp
 COPY detectors.yaml /tmp
 ENV CCACHE_DIR=/ccache/$TARGETPLATFORM
 RUN --mount=type=cache,target=/ccache/                                          \
-    cd /tmp                                                                     \
+    cd /tmp && ccache -c                                                                     \
  && [ "z$NIGHTLY" = "z1" ] && NIGHTLY_FLAG="--nightly" || NIGHTLY_FLAG=""       \
  && /tmp/setup_detectors.py --prefix /opt/detector --config /tmp/detectors.yaml \
                          $NIGHTLY_FLAG                                          \
-- 
GitLab