docker: Reduce more copies.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk committed 2025-05-31 10:36:39 +00:00
1 parent 288c49c436
commit 2be61de70f
4 files changed
+13 -4

No files matched your search

+3 -3
View File
@@ -5,6 +5,9 @@ ARG var_cache
ARG var_lib_apt
ARG packages
WORKDIR /
COPY --link --from=input . .
ENV packages="\
bzip2 \
ca-certificates \
@@ -21,9 +24,6 @@ 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 \