wasm-pack-plugin
This commit is contained in:
12
tools/wasm-pack-plugin/Dockerfile
Normal file
12
tools/wasm-pack-plugin/Dockerfile
Normal file
@@ -0,0 +1,12 @@
|
||||
FROM rust:alpine
|
||||
|
||||
RUN apk add --no-cache \
|
||||
npm \
|
||||
musl-dev \
|
||||
make \
|
||||
&& cargo install wasm-pack \
|
||||
&& rustup target add wasm32-unknown-unknown
|
||||
|
||||
COPY plugin.sh /plugin.sh
|
||||
|
||||
ENTRYPOINT ["/plugin.sh"]
|
Reference in New Issue
Block a user