20 lines
376 B
Docker
20 lines
376 B
Docker
FROM rust:alpine
|
|
|
|
COPY plugin.sh /bin/plugin.sh
|
|
RUN apk add --no-cache \
|
|
npm \
|
|
musl-dev \
|
|
openssl \
|
|
openssl-dev \
|
|
perl \
|
|
zlib \
|
|
make \
|
|
tzdata \
|
|
&& cargo install wasm-pack \
|
|
&& rustup target add wasm32-unknown-unknown \
|
|
&& chmod +x /bin/plugin.sh
|
|
|
|
ENV TZ=UTC
|
|
|
|
ENTRYPOINT ["/bin/sh", "/bin/plugin.sh"]
|