From 7ef3d87743ff74e623e2d2f9f064bfa11a4c4bce Mon Sep 17 00:00:00 2001 From: crasbe Date: Mon, 20 Apr 2026 20:02:41 +0200 Subject: [PATCH 1/2] murdock-worker/Dockerfile: update git-cache-rs to the latest version Also add a line to the Dockerfile to remove the old style cache content to save some valuable harddrive space. --- murdock-worker/Dockerfile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/murdock-worker/Dockerfile b/murdock-worker/Dockerfile index 02ef6aaf..e4c3d1c9 100644 --- a/murdock-worker/Dockerfile +++ b/murdock-worker/Dockerfile @@ -29,8 +29,9 @@ RUN pip3 install hiredis # install testrunner dependencies RUN pip3 install click -# get git-cache-rs binary -COPY --from=ghcr.io/kaspar030/git-cache:0.1.5-jammy /git-cache /usr/bin/git-cache +# get git-cache-rs binary and set the environment variable for +# the RIOT package subsystem +COPY --from=ghcr.io/kaspar030/git-cache:0.2.8-jammy /git-cache /usr/bin/git-cache ENV GIT_CACHE_RS /usr/bin/git-cache # install newer ccache package @@ -44,6 +45,9 @@ COPY murdock_slave.sh /usr/bin/murdock_slave # create cache folder RUN mkdir -m777 /cache +# remove old git-cache-rs files from before the directory structure changed +RUN rm -rf /cache/.gitcache/*.git /cache/.gitcache/*.lock + # set cache folder for Download Cache ENV DLCACHE_DIR /cache/.dlcache From de0cea8e53d43153171fa6a99c639032a3b9bf59 Mon Sep 17 00:00:00 2001 From: crasbe Date: Mon, 11 May 2026 14:38:40 +0200 Subject: [PATCH 2/2] fixup! murdock-worker/Dockerfile: update git-cache-rs to the latest version --- murdock-worker/Dockerfile | 5 ----- 1 file changed, 5 deletions(-) diff --git a/murdock-worker/Dockerfile b/murdock-worker/Dockerfile index e4c3d1c9..39854142 100644 --- a/murdock-worker/Dockerfile +++ b/murdock-worker/Dockerfile @@ -29,11 +29,6 @@ RUN pip3 install hiredis # install testrunner dependencies RUN pip3 install click -# get git-cache-rs binary and set the environment variable for -# the RIOT package subsystem -COPY --from=ghcr.io/kaspar030/git-cache:0.2.8-jammy /git-cache /usr/bin/git-cache -ENV GIT_CACHE_RS /usr/bin/git-cache - # install newer ccache package ARG CCACHE_TGZ=ccache-4.7.4-linux-x86_64.tar.xz COPY files/${CCACHE_TGZ} /