docker: Further optimize multi-layered build.
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
98bbf58121
commit
3ffc238799
7 changed files with 28 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ WORKDIR /usr/lib/${sys_target}
|
|||
COPY --from=rocksdb . .
|
||||
|
||||
WORKDIR /usr/src/tuwunel
|
||||
COPY --link --from=recipe recipe.json .
|
||||
COPY --from=recipe recipe.json .
|
||||
|
||||
ENV CARGO_BUILD_RUSTFLAGS=${CARGO_BUILD_RUSTFLAGS}
|
||||
RUN \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue