Files
godot-builder-image/Dockerfile.windows
Olof Pettersson 4e2d4d0e91
Some checks failed
Publish Builder Images / build-base (push) Successful in 32s
Publish Builder Images / build-windows (push) Failing after 32s
Download file in script with wget instead
2025-12-02 10:54:24 +01:00

18 lines
580 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
# We copy the pre-downloaded file from the runner context into the image
COPY ${LLVM_MINGW_NAME}.tar.xz .
RUN tar xf ${LLVM_MINGW_NAME}.tar.xz && \
rm -f ${LLVM_MINGW_NAME}.tar.xz && \
mv ${LLVM_MINGW_NAME} /root/llvm-mingw
CMD /bin/bash