outfly/build/docker/Dockerfile

8 lines
425 B
Docker
Raw Normal View History

2024-09-14 22:30:10 +00:00
FROM docker.io/ubuntu:20.04
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
RUN apt update && apt install -y -q git vim build-essential alsa-source alsa-tools libasound2-dev pkg-config libwayland-dev gcc-mingw-w64 zip
RUN curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh -s -- -y
2024-09-14 22:32:27 +00:00
RUN /root/.cargo/bin/rustup target add x86_64-pc-windows-gnu
2024-09-14 22:30:10 +00:00
ENV PATH "$PATH:/root/.cargo/bin"