yuno/Dockerfile

14 lines
422 B
Text
Raw Permalink Normal View History

2024-08-04 07:28:54 +00:00
FROM alpine:edge
2024-08-04 11:45:07 +00:00
RUN apk add curl build-base mold clang gcc libc-dev pkgconf libx11-dev alsa-lib-dev eudev-dev sccache
2024-08-04 07:28:54 +00:00
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 \
2024-08-04 08:17:17 +00:00
&& /root/.cargo/bin/rustup target add wasm32-unknown-unknown \
2024-08-04 07:28:54 +00:00
&& /root/.cargo/bin/cargo install trunk
ENV PATH="/root/.cargo/bin:$PATH"