Add XDG_RUNTIME_DIR=/tmp to fix wineboot --init bug
Some checks failed
continuous-integration/drone/push Build was killed

This commit is contained in:
2025-02-20 20:26:40 +01:00
parent a8167b63af
commit 0a490a8e49

View File

@@ -62,6 +62,7 @@ ENV XVFB_SCREEN "0"
ENV XVFB_RESOLUTION "1024x768x16"
ENV DISPLAY ":95"
ENV WINEARCH win32
ENV XDG_RUNTIME_DIR "/tmp"
COPY tools/* /root/.wine/drive_c/windows/system32/
COPY VisualStudioMock/bin/Release/net472/VisualStudioMock.exe /root/.wine/drive_c/VisualStudioMock.exe
@@ -70,7 +71,7 @@ RUN set -x -e; \
export PATH=/opt/wine-stable/bin:$PATH; \
# Install dotnet
entrypoint wineboot --init; \
# HACK for Wine 10 bug where the previous ends with "run_wineboot boot event wait timed out"
# HACK for Wine 10 bug where the previous ends with "run_wineboot boot event wait timed out" (https://bugs.mandrivalinux.com.narkive.com/hFZTjKnl/bug-58914-wine-new-wine-hangs-while-creating-initial-configuration-in-wine)
kill `pgrep rundll32`; \
kill `pgrep control.exe`; \
entrypoint wineboot --init; \