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