diff --git a/envoyfilter/Dockerfile b/envoyfilter/Dockerfile index 5e542c54..d1d14440 100644 --- a/envoyfilter/Dockerfile +++ b/envoyfilter/Dockerfile @@ -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