fix(docker): install winetricks from script, not apt (not in bookworm)

winetricks was removed from Debian bookworm apt repositories;
download it directly from the official GitHub source instead.
Replace winetricks apt package with cabextract (its runtime dep)
This commit is contained in:
2026-03-10 09:48:07 +01:00
parent f7c108c77f
commit 8f399f2194

View File

@@ -8,9 +8,14 @@ RUN dpkg --add-architecture i386 && \
apt-get update && apt-get install -y --no-install-recommends \
wine wine64 \
python3 python3-pip python3-venv libpython3.11 \
binutils wget xvfb xauth winetricks ca-certificates \
binutils wget xvfb xauth cabextract ca-certificates \
&& rm -rf /var/lib/apt/lists/*
# Install winetricks manually (removed from Debian bookworm apt)
RUN wget -q https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks \
-O /usr/local/bin/winetricks && \
chmod +x /usr/local/bin/winetricks
WORKDIR /build
# Copy repo