| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.version=24.04 |
| ADD file:46ac5b8ee4c64ad9ebe840abd5619f571a617ac19483764d47d0eeba7907934f in / |
| CMD ["/bin/bash"] |
| /bin/sh -c dpkg --add-architecture i386 && apt-get update && apt-get install -y --no-install-recommends ca-certificates curl git jq nodejs wine wine32 wine64 xvfb && rm -rf /var/lib/apt/lists/* |
| ENV WINEPREFIX=/opt/wine |
| ENV WINEDEBUG=-all |
| ENV WINEARCH=win64 |
| /bin/sh -c xvfb-run wine wineboot --init && xvfb-run wineserver -w |
| /bin/sh -c curl -fsSL 'https://www.python.org/ftp/python/3.12.9/python-3.12.9-amd64.exe' -o /tmp/python-installer.exe && xvfb-run wine /tmp/python-installer.exe /quiet InstallAllUsers=1 PrependPath=1 && rm /tmp/python-installer.exe && PYDIR=$(find /opt/wine/drive_c -type d -name 'Python312' -path '*/Python312' | head -1) && printf '#!/bin/bash\nexec wine "%s/python.exe" "$@"\n' "$PYDIR" > /usr/local/bin/python-wine && chmod +x /usr/local/bin/python-wine |
| /bin/sh -c xvfb-run python-wine -m pip install --no-cache-dir 'PySide6>=6.5.0' pyinstaller |