pywine (sha256:5dff5608bf3c64e27bb352de8e0c7950feea7d2fb36e45e88989e0cd2ed795f7)

Published 2025-10-29 15:10:06 -07:00 by buckbanzai in MarkerMatic/pywine

Installation

docker pull scm.gruezi.net/markermatic/pywine@sha256:5dff5608bf3c64e27bb352de8e0c7950feea7d2fb36e45e88989e0cd2ed795f7
sha256:5dff5608bf3c64e27bb352de8e0c7950feea7d2fb36e45e88989e0cd2ed795f7

About this package

Docker image with wine/wine-staging

Image layers

# debian.sh --arch 'amd64' out/ 'trixie' '@1760918400'
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 SHA256SUMS.txt /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.51.2.windows.1
ARG GIT_RELEASE_VERSION=2.51.2
ARG PYTHON_VERSION=3.13.9
ARG UPX_VERSION=5.0.2
RUN |4 GIT_VERSION=v2.51.2.windows.1 GIT_RELEASE_VERSION=2.51.2 PYTHON_VERSION=3.13.9 UPX_VERSION=5.0.2 /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 && sha256sum -c SHA256SUMS.txt && 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.51.2.windows.1 GIT_RELEASE_VERSION=2.51.2 PYTHON_VERSION=3.13.9 UPX_VERSION=5.0.2 /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 2025-10-29T22:05:36Z
org.opencontainers.image.description Docker image with wine/wine-staging
org.opencontainers.image.licenses MIT
org.opencontainers.image.revision f67fce63bab1f46cfa5911d9a35645c74b949e50
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 main
Details
Container
2025-10-29 15:10:06 -07:00
1
OCI / Docker
linux/amd64
Tobias Gruetzmacher <tobias-docker@23.gs>
MIT
1.3 GiB
Versions (1) View all
latest 2025-10-29