mirror of
https://github.com/vanilla-wiiu/vanilla.git
synced 2026-10-28 09:43:51 +00:00
21 lines
745 B
Docker
21 lines
745 B
Docker
FROM docker.io/ubuntu:24.04@sha256:33ceb71981b602c1a7443a53469e4dba065f7503eab3078a2d7a57a2ab987517
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
ENV TZ=Etc/UTC
|
|
|
|
RUN apt -y update && \
|
|
apt -y install gcc-mingw-w64 g++-mingw-w64 git wget make nasm && \
|
|
apt-get clean && \
|
|
apt-get autoremove --yes && \
|
|
rm -rf /var/lib/{apt,dpkg,cache,log}/
|
|
|
|
# Install newer version of CMake
|
|
ENV CMAKE_VER=3.31.5
|
|
RUN wget https://github.com/Kitware/CMake/releases/download/v$CMAKE_VER/cmake-$CMAKE_VER-linux-$(uname -m).sh \
|
|
&& chmod +x cmake-$CMAKE_VER-linux-$(uname -m).sh \
|
|
&& ./cmake-$CMAKE_VER-linux-$(uname -m).sh --prefix=/usr --skip-license
|
|
|
|
COPY "docker/windows/mingw-w64-x86_64.cmake" "/"
|
|
|
|
ENTRYPOINT [ "/vanilla/docker/windows/build.sh" ]
|