Files
palladiumcore/docker-build/Dockerfile.windows
Davide Grilli 6e29c7cd9d feat(docker): add Windows cross-compilation support via Docker
Add Dockerfile.windows and build-windows.sh for cross-compiling Windows executables
in a containerized environment. Includes documentation updates in README.md with
build instructions and troubleshooting tips for Windows builds.
2025-10-29 14:56:13 +01:00

18 lines
614 B
Docker

FROM ubuntu:20.04
ENV DEBIAN_FRONTEND=noninteractive TZ=UTC
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential libtool autotools-dev automake autoconf pkg-config \
bsdmainutils python3 curl ca-certificates git unzip zip file rsync \
g++-mingw-w64-x86-64 binutils-mingw-w64-x86-64 nsis \
&& rm -rf /var/lib/apt/lists/*
RUN update-alternatives --set x86_64-w64-mingw32-g++ /usr/bin/x86_64-w64-mingw32-g++-posix || true && \
update-alternatives --set x86_64-w64-mingw32-gcc /usr/bin/x86_64-w64-mingw32-gcc-posix || true
WORKDIR /src
COPY . /src
CMD ["/bin/bash"]