Skip to content

Commit

Permalink
use alpine-3.18 which uses wine 8.x to fix dialog crashes
Browse files Browse the repository at this point in the history
  • Loading branch information
lian committed Dec 4, 2023
1 parent ebea863 commit 5c26a84
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# force platfrom=linux/386 because alpine x64 doesn't support wine32 and LoxoneConfig is win32
FROM --platform=linux/386 jlesage/baseimage-gui:alpine-3.17-v4.5
FROM --platform=linux/386 jlesage/baseimage-gui:alpine-3.18-v4.5

RUN add-pkg wine wget xterm cabextract
RUN wget -O /usr/bin/winetricks https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks && \
Expand Down
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,7 @@ services:
- DISPLAY_HEIGHT=1080
- HOME=/config/
- WINEPREFIX=/config/wine
- WINEARCH=win32
volumes:
- "./config:/config:rw"
- "./config/Loxone:/config/wine/drive_c/users/app/Documents/Loxone:rw"
4 changes: 2 additions & 2 deletions init-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ fi
export WINEDEBUG=-all

echo Installing winetricks helper for fonts and sharper rendering..
#/usr/bin/winetricks fontsmooth-rgb
/usr/bin/winetricks corefonts
/usr/bin/winetricks fontsmooth-rgb
#/usr/bin/winetricks corefonts
/usr/bin/winetricks gdiplus
echo Installing LoxoneConfig..
wine "/config/LoxoneConfigSetup.exe"
Expand Down
2 changes: 1 addition & 1 deletion startapp.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

if [ ! -d "/config/wine/drive_c" ]; then
if [ ! -d "/config/wine/drive_c/Program Files/Loxone" ]; then
xterm -e "/init-install.sh" || exit 1
fi

Expand Down

0 comments on commit 5c26a84

Please sign in to comment.