mirror of
https://github.com/katanemo/plano.git
synced 2026-04-25 00:36:34 +02:00
improve docker build speed
This commit is contained in:
parent
9e50957f22
commit
ed329bd419
1 changed files with 1 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
|||
# build filter using rust toolchain
|
||||
FROM rust:1.80.0 as builder
|
||||
RUN rustup -v target add wasm32-wasi
|
||||
WORKDIR /envoyfilter
|
||||
COPY envoyfilter/src /envoyfilter/src
|
||||
COPY envoyfilter/Cargo.toml /envoyfilter/
|
||||
|
|
@ -7,7 +8,6 @@ COPY envoyfilter/Cargo.lock /envoyfilter/
|
|||
COPY open-message-format /open-message-format
|
||||
COPY public-types /public-types
|
||||
|
||||
RUN rustup -v target add wasm32-wasi
|
||||
RUN cargo build --release --target wasm32-wasi
|
||||
|
||||
# copy built filter into envoy image
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue