2022-08-06 20:32:27 +00:00
|
|
|
FROM rust:alpine
|
|
|
|
|
|
|
|
RUN apk add --no-cache \
|
|
|
|
npm \
|
|
|
|
musl-dev \
|
2022-08-06 20:41:12 +00:00
|
|
|
openssl \
|
|
|
|
openssl-dev \
|
2022-08-06 20:32:27 +00:00
|
|
|
make \
|
|
|
|
&& cargo install wasm-pack \
|
|
|
|
&& rustup target add wasm32-unknown-unknown
|
|
|
|
|
|
|
|
COPY plugin.sh /plugin.sh
|
|
|
|
|
|
|
|
ENTRYPOINT ["/plugin.sh"]
|