pywine (sha256:94cf78e2c56a11f5de5b2bf81c316a308621be842fd2f276c9a521e0555e957e)

Published 2026-04-11 10:47:44 -07:00 by buckbanzai in MarkerMatic/pywine

Installation

docker pull scm.gruezi.net/markermatic/pywine@sha256:94cf78e2c56a11f5de5b2bf81c316a308621be842fd2f276c9a521e0555e957e
sha256:94cf78e2c56a11f5de5b2bf81c316a308621be842fd2f276c9a521e0555e957e

About this package

Docker image with wine/wine-staging

Image layers

# debian.sh --arch 'amd64' out/ 'trixie' '@1773619200'
LABEL org.opencontainers.image.authors=Tobias Gruetzmacher <tobias-docker@23.gs>
ENV DEBIAN_FRONTEND=noninteractive
ARG TINI_VERSION=0.19.0
ADD https://github.com/krallin/tini/releases/download/v0.19.0/tini /tini # buildkit
RUN |1 TINI_VERSION=0.19.0 /bin/sh -c chmod +x /tini # buildkit
COPY apt /etc/apt # buildkit
COPY fix-xvfb.sh wine-dependencies.txt /tmp/ # buildkit
RUN |1 TINI_VERSION=0.19.0 /bin/sh -c dpkg --add-architecture i386 && apt-get install -y --update --no-install-recommends ca-certificates curl unzip xauth xvfb && apt-get install -y --no-install-recommends --mark-auto $(cat /tmp/wine-dependencies.txt) && rm /tmp/wine-dependencies.txt && /tmp/fix-xvfb.sh && apt-get clean && rm -rf /var/lib/apt/lists/* # buildkit
ARG WINE_FLAVOUR=stable
RUN |2 TINI_VERSION=0.19.0 WINE_FLAVOUR=stable /bin/sh -c sed -i '/^Enabled:/ s/no/yes/' /etc/apt/sources.list.d/* && apt-get install -y --update --no-install-recommends winehq-${WINE_FLAVOUR} && apt-get clean && rm -rf /var/lib/apt/lists/* # buildkit
ENTRYPOINT ["/tini" "--"]
CMD ["/bin/bash"]
LABEL org.opencontainers.image.authors=Tobias Gruetzmacher <tobias-docker@23.gs>
ENV WINEDEBUG=-all
ENV WINEPREFIX=/opt/wineprefix
COPY wine-init.sh /tmp/helper/ # buildkit
COPY mkuserwineprefix entrypoint.sh /opt/ # buildkit
RUN /bin/sh -c xvfb-run sh /tmp/helper/wine-init.sh # buildkit
ARG GIT_VERSION=v2.53.0.windows.2
ARG GIT_RELEASE_VERSION=2.53.0.2
ARG PYTHON_VERSION=3.14.4
ARG UPX_VERSION=5.1.1
RUN |4 GIT_VERSION=v2.53.0.windows.2 GIT_RELEASE_VERSION=2.53.0.2 PYTHON_VERSION=3.14.4 UPX_VERSION=5.1.1 /bin/sh -c umask 0 && cd /tmp/helper && curl --fail-with-body -LOOO "https://www.python.org/ftp/python/${PYTHON_VERSION}/python-${PYTHON_VERSION}-amd64.exe{,.sigstore}" https://github.com/upx/upx/releases/download/v${UPX_VERSION}/upx-${UPX_VERSION}-win64.zip https://github.com/git-for-windows/git/releases/download/${GIT_VERSION}/MinGit-${GIT_RELEASE_VERSION}-64-bit.zip && xvfb-run sh -c " wine python-${PYTHON_VERSION}-amd64.exe /quiet TargetDir=C:\\Python Include_doc=0 InstallAllUsers=1 PrependPath=1; wineserver -w" && unzip upx*.zip && mv -v upx*/upx.exe ${WINEPREFIX}/drive_c/windows/ && unzip MinGit-*.zip -d mingit && mv mingit/cmd/* ${WINEPREFIX}/drive_c/windows/system32/ && mv mingit/mingw64/bin/* ${WINEPREFIX}/drive_c/windows/system32/ && cd .. && rm -Rf helper # buildkit
RUN |4 GIT_VERSION=v2.53.0.windows.2 GIT_RELEASE_VERSION=2.53.0.2 PYTHON_VERSION=3.14.4 UPX_VERSION=5.1.1 /bin/sh -c umask 0 && xvfb-run sh -c " wine pip install --no-warn-script-location pyinstaller; wineserver -w" # buildkit
ENTRYPOINT ["/opt/entrypoint.sh"]

Labels

Key Value
org.opencontainers.image.authors Tobias Gruetzmacher <tobias-docker@23.gs>
org.opencontainers.image.created 2026-04-11T17:43:07Z
org.opencontainers.image.description Docker image with wine/wine-staging
org.opencontainers.image.licenses MIT
org.opencontainers.image.revision 867a67fe67b7849f6d95eca3a89a7da6649597cd
org.opencontainers.image.source https://scm.gruezi.net/MarkerMatic/pywine.git
org.opencontainers.image.title wine-docker
org.opencontainers.image.url https://scm.gruezi.net/MarkerMatic/pywine
org.opencontainers.image.version nightly
Details
Container
2026-04-11 10:47:44 -07:00
1
OCI / Docker
linux/amd64
Tobias Gruetzmacher <tobias-docker@23.gs>
MIT
1.3 GiB
Versions (3) View all
3.14 2026-04-11
latest 2026-04-11
3.13 2026-04-11