FROM rust:alpine COPY plugin.sh /bin/ RUN apk add --no-cache \ npm \ musl-dev \ openssl \ openssl-dev \ perl \ zlib \ make \ && cargo install wasm-pack \ && rustup target add wasm32-unknown-unknown && chmod +x /bin/plugin.sh ENTRYPOINT /bin/plugin.sh