Wine Docker image with Xvfb and a launch-and-screenshot script #2

Closed
opened 2026-10-28 09:58:05 +01:00 by The_Void · 0 comments
Owner

Every other piece needs Wine, and this box has none (HANDOFF.md, 2026-10-28: wine, wine64 and winetricks are not on PATH; no Xvfb either).

The sibling dc-wine (../Mona.Client/server/wine/Dockerfile) won't do. It is Debian bookworm's Wine 8.0, 32-bit only, and the 64-bit iTunes installer mixes 32-bit and 64-bit components (UNREFUTED, from a WineHQ maintainer's remark on the iTunes bugs), so the image needs a current WineHQ build that runs both (WoW64). Read the version off WineHQ when building; don't pin it from memory.

What goes in:

  • Wine (stable to start; staging as a second tag if the build grid needs it), winetricks, Xvfb, xauth, xdotool, ImageMagick.
  • A launch script modelled on ../Mona.Client/server/wine/launch.sh: a fresh or reused prefix from a volume, run an exe, and take screenshots at given seconds.
  • The docker build / docker run lines in AGENTS.md → Commands, and the image in HANDOFF.md.

Done when winecfg (or notepad) runs in the container under Xvfb with both a 32-bit and a 64-bit prefix, and a screenshot of it is produced.

Every other piece needs Wine, and this box has none (`HANDOFF.md`, 2026-10-28: `wine`, `wine64` and `winetricks` are not on `PATH`; no Xvfb either). The sibling `dc-wine` (`../Mona.Client/server/wine/Dockerfile`) won't do. It is Debian bookworm's Wine 8.0, 32-bit only, and the 64-bit iTunes installer mixes 32-bit and 64-bit components (UNREFUTED, from a WineHQ maintainer's remark on the iTunes bugs), so the image needs a current WineHQ build that runs both (WoW64). Read the version off WineHQ when building; don't pin it from memory. What goes in: - Wine (stable to start; staging as a second tag if the build grid needs it), winetricks, Xvfb, xauth, xdotool, ImageMagick. - A launch script modelled on `../Mona.Client/server/wine/launch.sh`: a fresh or reused prefix from a volume, run an exe, and take screenshots at given seconds. - The `docker build` / `docker run` lines in `AGENTS.md` → Commands, and the image in `HANDOFF.md`. Done when `winecfg` (or `notepad`) runs in the container under Xvfb with both a 32-bit and a 64-bit prefix, and a screenshot of it is produced.
The_Void added this to the Ready to work milestone 2026-10-28 09:58:12 +01:00
Sign in to join this conversation.
No description provided.