yuno/Dockerfile
silvana 1b9596c2bc
Some checks failed
ci/woodpecker/tag/html Pipeline was successful
ci/woodpecker/pr/quality Pipeline failed
Fix(cicd): add html pipeline.
2024-08-04 11:27:53 +02:00

13 lines
414 B
Docker

FROM alpine:edge
RUN apk add curl build-base mold clang gcc libc-dev pkgconf libx11-dev alsa-lib-dev eudev-dev
WORKDIR /app
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs --output init-rust.sh \
&& chmod a+x init-rust.sh \
&& ./init-rust.sh -y \
&& /root/.cargo/bin/rustup target add wasm32-unknown-unknown \
&& /root/.cargo/bin/cargo install trunk
ENV PATH="/root/.cargo/bin:$PATH"