Skip to content

Commit 97d5d7e

Browse files
committed
fixup! murdock-worker/Dockerfile: update git-cache-rs to the latest version
1 parent 9a1024a commit 97d5d7e

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

murdock-worker/Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ RUN pip3 install hiredis
2929
# install testrunner dependencies
3030
RUN pip3 install click
3131

32-
# get git-cache-rs binary
32+
# get git-cache-rs binary and set the environment variable for
33+
# the RIOT package subsystem
3334
COPY --from=ghcr.io/kaspar030/git-cache:0.2.8-jammy /git-cache /usr/bin/git-cache
3435
ENV GIT_CACHE_RS /usr/bin/git-cache
3536

@@ -44,6 +45,9 @@ COPY murdock_slave.sh /usr/bin/murdock_slave
4445
# create cache folder
4546
RUN mkdir -m777 /cache
4647

48+
# remove old git-cache-rs files from before the directory structure changed
49+
RUN rm -rf /cache/.gitcache/*.git /cache/.gitcache/*.lock
50+
4751
# set cache folder for Download Cache
4852
ENV DLCACHE_DIR /cache/.dlcache
4953

0 commit comments

Comments
 (0)