game-algorithms/tools/wasm-pack-plugin/Dockerfile

16 lines
295 B
Docker

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