We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a1024a commit 97d5d7eCopy full SHA for 97d5d7e
1 file changed
murdock-worker/Dockerfile
@@ -29,7 +29,8 @@ RUN pip3 install hiredis
29
# install testrunner dependencies
30
RUN pip3 install click
31
32
-# get git-cache-rs binary
+# get git-cache-rs binary and set the environment variable for
33
+# the RIOT package subsystem
34
COPY --from=ghcr.io/kaspar030/git-cache:0.2.8-jammy /git-cache /usr/bin/git-cache
35
ENV GIT_CACHE_RS /usr/bin/git-cache
36
@@ -44,6 +45,9 @@ COPY murdock_slave.sh /usr/bin/murdock_slave
44
45
# create cache folder
46
RUN mkdir -m777 /cache
47
48
+# remove old git-cache-rs files from before the directory structure changed
49
+RUN rm -rf /cache/.gitcache/*.git /cache/.gitcache/*.lock
50
+
51
# set cache folder for Download Cache
52
ENV DLCACHE_DIR /cache/.dlcache
53
0 commit comments