Argiris Deligiannidis ad8422827d
All checks were successful
continuous-integration/drone/push Build is passing
Create docker image
2024-02-01 19:56:27 +02:00

16 lines
526 B
Docker

FROM alpine:latest
ARG PYTHON_VERSION=3.11.7
ARG PYTHON_URL=https://www.python.org/ftp/python/${PYTHON_VERSION}/python-3.11.7.exe
ENV WINEDEBUG=fixme-all
RUN \
apk -U add wine && \
for i in core dev exe lib path pip ; do \
wget -O "/tmp/python_$i.msi" -c "https://www.python.org/ftp/python/${PYTHON_VERSION}/win32/$i.msi" ; \
wine msiexec /i "/tmp/python_$i.msi" /qb TARGETDIR=C:/python && \
rm "/tmp/python_$i.msi" ; \
done && \
wine c:/python/python.exe -m pip install pyinstaller && \
mkdir -p /src /out