Add 64-bit Wine support for LoxoneConfig v17+ - #6
Open
rubenvanwanzeele wants to merge 1 commit into
Open
Conversation
LoxoneConfig v17 dropped 32-bit support. The previous setup used --platform=linux/386 with Alpine and wine32, which can no longer run the 64-bit LoxoneConfig.exe (exits with error 193 / bad EXE format). Changes: - Switch base image from Alpine/386 to Debian 12 (amd64) - Install WineHQ stable (currently wine 11) with full i386+amd64 multilib so the 32-bit installer stub and the 64-bit app both run correctly - Add winbind for NTLM authentication support - Update install/run paths to Program Files (x86) (where the 32-bit installer places the app regardless of the app's own architecture) - Add QTWEBENGINE_CHROMIUM_FLAGS=--no-sandbox for Qt6WebEngine/Chromium to work inside a Docker container - Install vcrun2022 (mfc140u.dll) via winetricks after Loxone install, which LoxoneConfig v17 requires at runtime - Remove winetricks gdiplus/fontsmooth steps that fail in this setup
|
@lian please merge, waiting for this. Thank you for your useful work! |
Open
JonasReuter
added a commit
to JonasReuter/docker-loxone-config
that referenced
this pull request
May 16, 2026
Applies PR lian#6 (rubenvanwanzeele) to support 64-bit LoxoneConfig, plus fixes needed to build and run on Apple Silicon hosts: - Dockerfile: base image jlesage/baseimage-gui debian-12-v4 with WineHQ stable multilib (wine32+wine64) instead of Alpine/386. - Pin FROM --platform=linux/amd64: WineHQ has no arm64 builds, and amd64 emulation (Rosetta) is stable on Apple Silicon unlike the linux/386 QEMU path, which segfaulted openbox. - Work around the jlesage baseimage symlinking /etc/{passwd,group, shadow,gshadow} and /run into /tmp: those targets are absent at build time and udev's post-install runs systemd-tmpfiles which wipes /tmp mid-build. Swap them for real files/dirs during the build and restore the symlinks afterwards so runtime user/run setup keeps working. - Drop winbind (pulls samba-common, which collides with the baseimage /var/log symlink) — not needed by LoxoneConfig. - docker-compose.yml: add platform: linux/amd64, drop WINEARCH=win32 which would force a 32-bit prefix and break 64-bit LoxoneConfig. - init-install.sh: replace 'read -p' (bash/busybox-only) with a dash-compatible prompt so first-run install pauses on Debian. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
LoxoneConfig v17 dropped 32-bit support. The previous setup used --platform=linux/386 with Alpine and wine32, which can no longer run the 64-bit LoxoneConfig.exe (exits with error 193 / bad EXE format).
Changes: