We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cfe2108 commit b56fb26Copy full SHA for b56fb26
1 file changed
.github/docker/Dockerfile
@@ -1,3 +1,8 @@
1
FROM ghcr.io/loongarchlinux/archlinux:latest
2
ARG TARGETARCH
3
-RUN pacman --noconfirm -Syu
+RUN rm -rf /var/cache/pacman/pkg/*
4
+RUN rm -rf /var/lib/pacman/sync/*
5
+RUN --mount=type=cache,target=/var/cache/pacmant,sharing=locked \
6
+ --mount=type=cache,target=/var/lib/pacman/sync,sharing=locked \
7
+ pacman --noconfirm -Syu
8
+
0 commit comments