docker: Reduce more copies.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk
2025-05-30 22:44:05 +00:00
parent 288c49c436
commit 2be61de70f
4 changed files with 13 additions and 4 deletions

View File

@@ -61,6 +61,8 @@ ARG CARGO_INSTALL_ROOT
ARG install_temp="/usr/src/tuwunel/install"
WORKDIR /
COPY --link --from=input . .
RUN \
--mount=type=bind,from=output,src=${install_temp},dst=/mnt/install \
<<EOF