docker: Further optimize multi-layered build.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk committed 2025-05-28 08:50:00 +00:00
1 parent 98bbf58121
commit 3ffc238799
7 files changed
+28 -1

No files matched your search

+3
View File
@@ -21,6 +21,9 @@ xz-utils \
${packages} \
"
WORKDIR /
COPY --link --from=input . .
RUN \
--mount=type=cache,dst=${var_cache},sharing=locked \
--mount=type=cache,dst=${var_lib_apt},sharing=locked \