Files
godot-builder-image/Dockerfile.windows
Olof Pettersson f80308b565
Some checks failed
Publish Builder Images / setup (push) Successful in 41s
Publish Builder Images / build-base (push) Failing after 24s
Publish Builder Images / build-targets (Dockerfile.linux, linux) (push) Has been skipped
Publish Builder Images / build-targets (Dockerfile.windows, windows) (push) Has been skipped
Build for linux
2025-12-03 18:29:00 +01:00

18 lines
696 B
Docker

ARG img_version
FROM godot-fedora:${img_version}
RUN dnf -y install --setopt=install_weak_deps=False \
mingw32-gcc mingw32-gcc-c++ mingw32-winpthreads-static mingw64-gcc mingw64-gcc-c++ mingw64-winpthreads-static
ENV LLVM_MINGW_VERSION=20250528
ENV LLVM_MINGW_NAME=llvm-mingw-${LLVM_MINGW_VERSION}-ucrt-ubuntu-22.04-x86_64
# DIRECT DOWNLOAD (Now works because MTU is fixed!)
RUN curl -LO "https://github.com/mstorsjo/llvm-mingw/releases/download/${LLVM_MINGW_VERSION}/${LLVM_MINGW_NAME}.tar.xz" && \
tar xf "${LLVM_MINGW_NAME}.tar.xz" && \
rm -f "${LLVM_MINGW_NAME}.tar.xz" && \
mv "${LLVM_MINGW_NAME}" /root/llvm-mingw
ENV PATH="/root/llvm-mingw/bin:${PATH}"
CMD /bin/bash