Add a stage winebuild for building 32bit exe

This commit is contained in:
Lee Miller 2022-04-16 21:58:12 +03:00
parent 6b25a5481f
commit 3cbd77f194
Signed by untrusted user: lee.miller
GPG Key ID: 4F97A5EA88F4AB63

View File

@ -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 FROM base AS buildbot
# cleanup # cleanup