runner-pyinstaller-windows-amd64 (sha256:f2ada1e62df76235402359eb2e6c81f816fee1f38a9fe368f6f17b1341e09480)

Published 2026-09-16 11:56:47 +02:00 by tobias.hertel

Installation

docker pull depot.minenbauer.de/htobi02/runner-pyinstaller-windows-amd64@sha256:f2ada1e62df76235402359eb2e6c81f816fee1f38a9fe368f6f17b1341e09480
sha256:f2ada1e62df76235402359eb2e6c81f816fee1f38a9fe368f6f17b1341e09480

Image layers

# debian.sh --arch 'amd64' out/ 'bookworm' '@1787529600'
ARG DEBIAN_FRONTEND=noninteractive
ARG TARGETARCH=amd64
ARG RUNNER_VERSION=12.10.1
ARG NODE_VERSION=20.19.5
ENV LANG=C.UTF-8 LC_ALL=C.UTF-8 RUNNER_HOME=/data RUNNER_CONFIG_FILE=/data/config.yml RUNNER_REGISTRATION_FILE=/data/.runner RUNNER_NAME= RUNNER_LABELS= RUNNER_CAPACITY=1 RUNNER_LOG_LEVEL=info RUNNER_DOCKER_HOST=- RUNNER_CONTAINER_NETWORK= RUNNER_CONTAINER_OPTIONS= RUNNER_VALID_VOLUMES= RUNNER_FORCE_PULL=false RUNNER_FORCE_REBUILD=false RUNNER_CACHE_ENABLED=true RUNNER_JOB_DOCKER_HOST= PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
RUN |4 DEBIAN_FRONTEND=noninteractive TARGETARCH=amd64 RUNNER_VERSION=12.10.1 NODE_VERSION=20.19.5 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates curl wget jq git git-lfs unzip xz-utils zip tar gzip gnupg lsb-release procps tini bash python3 python3-yaml && git lfs install --system && git lfs version && rm -rf /var/lib/apt/lists/* # buildkit
RUN |4 DEBIAN_FRONTEND=noninteractive TARGETARCH=amd64 RUNNER_VERSION=12.10.1 NODE_VERSION=20.19.5 /bin/sh -c set -eux; arch="${TARGETARCH:-amd64}"; case "$arch" in amd64) node_arch="x64" ;; arm64) node_arch="arm64" ;; *) echo "Unsupported TARGETARCH: $arch" && exit 1 ;; esac; curl -fsSL "https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-${node_arch}.tar.xz" -o /tmp/node.tar.xz; tar -xJf /tmp/node.tar.xz -C /usr/local --strip-components=1; rm -f /tmp/node.tar.xz; node --version # buildkit
RUN |4 DEBIAN_FRONTEND=noninteractive TARGETARCH=amd64 RUNNER_VERSION=12.10.1 NODE_VERSION=20.19.5 /bin/sh -c set -eux; arch="${TARGETARCH:-amd64}"; case "$arch" in amd64|arm64) ;; *) echo "Unsupported TARGETARCH: $arch" && exit 1 ;; esac; if [ -z "$RUNNER_VERSION" ]; then RUNNER_VERSION="$(curl -fsSL https://data.forgejo.org/api/v1/repos/forgejo/runner/releases/latest | jq -r '.tag_name // .name' | sed 's/^v//')"; fi; RUNNER_URL="https://code.forgejo.org/forgejo/runner/releases/download/v${RUNNER_VERSION}/forgejo-runner-${RUNNER_VERSION}-linux-${arch}"; curl -fsSL "$RUNNER_URL" -o /usr/local/bin/forgejo-runner; chmod +x /usr/local/bin/forgejo-runner; forgejo-runner -v # buildkit
RUN |4 DEBIAN_FRONTEND=noninteractive TARGETARCH=amd64 RUNNER_VERSION=12.10.1 NODE_VERSION=20.19.5 /bin/sh -c mkdir -p /data /workspace # buildkit
WORKDIR /data
COPY entrypoint.sh /usr/local/bin/entrypoint.sh # buildkit
RUN |4 DEBIAN_FRONTEND=noninteractive TARGETARCH=amd64 RUNNER_VERSION=12.10.1 NODE_VERSION=20.19.5 /bin/sh -c chmod +x /usr/local/bin/entrypoint.sh # buildkit
VOLUME [/data]
ENTRYPOINT ["/usr/bin/tini" "--" "/usr/local/bin/entrypoint.sh"]
ARG DEBIAN_FRONTEND=noninteractive
ARG TARGETARCH=amd64
ARG PYINSTALLER_VERSION=6.22.3
ARG WINDOWS_PYTHON_VERSION=3.12.10
ENV PIP_NO_CACHE_DIR=1 WINEARCH=win64 WINEDEBUG=-all WINEPREFIX=/opt/wine-prefix PYINSTALLER_WINDOWS_PYTHON=/opt/windows-python/python.exe
COPY pyinstaller-windows /usr/local/bin/pyinstaller-windows # buildkit
COPY python-windows /usr/local/bin/python-windows # buildkit
RUN |4 DEBIAN_FRONTEND=noninteractive TARGETARCH=amd64 PYINSTALLER_VERSION=6.22.3 WINDOWS_PYTHON_VERSION=3.12.10 /bin/sh -c set -eux; arch="${TARGETARCH:-amd64}"; if [ "$arch" != "amd64" ]; then echo "runner-pyinstaller-windows-amd64 supports linux/amd64 only" >&2; exit 1; fi; dpkg --add-architecture i386; install -d -m 0755 /etc/apt/keyrings; curl -fsSL https://dl.winehq.org/wine-builds/winehq.key | gpg --dearmor -o /etc/apt/keyrings/winehq.gpg; { echo "Types: deb"; echo "URIs: https://dl.winehq.org/wine-builds/debian/"; echo "Suites: bookworm"; echo "Components: main"; echo "Architectures: amd64 i386"; echo "Signed-By: /etc/apt/keyrings/winehq.gpg"; } > /etc/apt/sources.list.d/winehq.sources; apt-get update; apt-get install -y --no-install-recommends cabextract curl file p7zip-full unzip winehq-stable xauth xvfb; chmod +x /usr/local/bin/pyinstaller-windows /usr/local/bin/python-windows; mkdir -p "$WINEPREFIX" /opt/windows-python; rm -rf /var/lib/apt/lists/* # buildkit
RUN |4 DEBIAN_FRONTEND=noninteractive TARGETARCH=amd64 PYINSTALLER_VERSION=6.22.3 WINDOWS_PYTHON_VERSION=3.12.10 /bin/sh -c set -eux curl -fsSL "https://www.python.org/ftp/python/${WINDOWS_PYTHON_VERSION}/python-${WINDOWS_PYTHON_VERSION}-embed-amd64.zip" -o /tmp/python-windows.zip unzip -q /tmp/python-windows.zip -d /opt/windows-python rm -f /tmp/python-windows.zip pth_file="$(find /opt/windows-python -name 'python*._pth' -print -quit)" sed -i 's/^#import site/import site/' "$pth_file" site_packages=/opt/windows-python/Lib/site-packages mkdir -p "$site_packages" /tmp/windows-wheels if [ "$PYINSTALLER_VERSION" != "6.22.3" ]; then echo "Update pinned Windows wheel URLs before changing PYINSTALLER_VERSION" >&2 exit 1 fi curl -fsSL -o /tmp/windows-wheels/pyinstaller-6.22.3-py3-none-win_amd64.whl \ https://files.pythonhosted.org/packages/24/83/c5422204772a27aef643280fdc887b7ef55679989096b21dceb1b9625fc4/pyinstaller-6.22.3-py3-none-win_amd64.whl curl -fsSL -o /tmp/windows-wheels/pyinstaller_hooks_contrib-2026.7-py3-none-any.whl \ https://files.pythonhosted.org/packages/0a/67/350377af7b50416344ab8792756d414eef7629c618a73e9a0b13bb1552d9/pyinstaller_hooks_contrib-2026.7-py3-none-any.whl curl -fsSL -o /tmp/windows-wheels/altgraph-0.17.5-py2.py3-none-any.whl \ https://files.pythonhosted.org/packages/a9/ba/000a1996d4308bc65120167c21241a3b205464a2e0b58deda26ae8ac21d1/altgraph-0.17.5-py2.py3-none-any.whl curl -fsSL -o /tmp/windows-wheels/macholib-1.16.4-py2.py3-none-any.whl \ https://files.pythonhosted.org/packages/c7/d1/a9f36f8ecdf0fb7c9b1e78c8d7af12b8c8754e74851ac7b94a8305540fc7/macholib-1.16.4-py2.py3-none-any.whl curl -fsSL -o /tmp/windows-wheels/packaging-26.3-py3-none-any.whl \ https://files.pythonhosted.org/packages/63/34/ba1c580383c9eada3711951fef0795c80b829a078d72188184bcab9dd527/packaging-26.3-py3-none-any.whl curl -fsSL -o /tmp/windows-wheels/pefile-2024.8.26-py3-none-any.whl \ https://files.pythonhosted.org/packages/54/16/12b82f791c7f50ddec566873d5bdd245baa1491bac11d15ffb98aecc8f8b/pefile-2024.8.26-py3-none-any.whl curl -fsSL -o /tmp/windows-wheels/pywin32_ctypes-0.2.3-py3-none-any.whl \ https://files.pythonhosted.org/packages/de/3d/8161f7711c017e01ac9f008dfddd9410dff3674334c233bde66e7ba65bbf/pywin32_ctypes-0.2.3-py3-none-any.whl curl -fsSL -o /tmp/windows-wheels/setuptools-84.0.0-py3-none-any.whl \ https://files.pythonhosted.org/packages/95/9c/c510029fc6ef33a6275cd2c5d3cecd6613dfd6aa401d57c54f1c18852ccf/setuptools-84.0.0-py3-none-any.whl for wheel in /tmp/windows-wheels/*.whl; do unzip -q "$wheel" -d "$site_packages" done rm -rf /tmp/windows-wheels test -f "$PYINSTALLER_WINDOWS_PYTHON" wine --version command -v wine command -v xvfb-run # buildkit
Details
Container
2026-09-16 11:56:47 +02:00
3
OCI / Docker
linux/amd64
842 MiB
Versions (3) View all
latest 2026-09-16
12.13.2 2026-09-16
12.10.1 2026-09-16