yuno/Dockerfile

13 lines
348 B
Text
Raw Normal View History

2024-08-04 07:28:54 +00:00
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/cargo install trunk
ENV PATH="/root/.cargo/bin:$PATH"