mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-13 12:16:54 +00:00
docker: Optimize multi-layered build.
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
1 parent
fb4c90931f
commit
cbfc75101b
2 files changed
+6
No files matched your search
@@ -13,6 +13,9 @@ ARG cargo_spec_features
|
||||
ARG cargo_cmd
|
||||
ARG cargo_args=""
|
||||
|
||||
WORKDIR /
|
||||
COPY --link --from=input . .
|
||||
|
||||
WORKDIR /usr/lib/${sys_target}
|
||||
COPY --link --from=rocksdb . .
|
||||
|
||||
|
||||
@@ -15,6 +15,9 @@ ARG crate_path="src/main"
|
||||
ARG crate_ident=""
|
||||
ARG install_temp="/usr/src/tuwunel/install"
|
||||
|
||||
WORKDIR /
|
||||
COPY --link --from=input . .
|
||||
|
||||
WORKDIR /usr/lib/${sys_target}
|
||||
COPY --link --from=rocksdb . .
|
||||
|
||||
|
||||
Reference in new issue
Block a user