From 3cbd77f1943487649e85212a7869df9b67925b75 Mon Sep 17 00:00:00 2001 From: Lee Miller Date: Sat, 16 Apr 2022 21:58:12 +0300 Subject: [PATCH] Add a stage winebuild for building 32bit exe --- packages/docker/Dockerfile.bionic | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/packages/docker/Dockerfile.bionic b/packages/docker/Dockerfile.bionic index 1d321387..c601c6b3 100644 --- a/packages/docker/Dockerfile.bionic +++ b/packages/docker/Dockerfile.bionic @@ -57,6 +57,24 @@ ENTRYPOINT ["tox"] ############################################################################### +FROM base AS winebuild + +RUN dpkg --add-architecture i386 +RUN apt-get update + +RUN apt-get install -yq --no-install-suggests --no-install-recommends \ + mingw-w64 wine-stable winetricks wine32 wine64 + +COPY . /home/builder/src + +WORKDIR /home/builder/src + +# xvfb-run -a buildscripts/winbuild.sh +CMD xvfb-run -a i386 buildscripts/winbuild.sh \ + && cp packages/pyinstaller/dist/*.exe /dist/ + +############################################################################### + FROM base AS buildbot # cleanup