diff --git a/Dockerfile b/Dockerfile index 54e6fcb..41510ef 100644 --- a/Dockerfile +++ b/Dockerfile @@ -69,12 +69,13 @@ COPY VisualStudioMock/bin/Release/net472/VisualStudioMock.exe /root/.wine/drive_ 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" (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; \ + # Initialize wine + # HACK for Wine 10 bug where the wineboot --init 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) + # DISPLAY= prevents access to the display and allows the init to complete + #entrypoint wineboot --init; \ + entrypoint whoami; \ + DISPLAY= wineboot --init + # Install dotnet # get latest version and its hash from https://dotnet.microsoft.com/en-us/download/dotnet wget -nv https://builds.dotnet.microsoft.com/dotnet/Sdk/9.0.200/dotnet-sdk-9.0.200-win-x86.exe --no-check-certificate -O /tmp/dotnet.exe; \ echo 3ddeb620fc45c623ade58f179e80cea64b7af5b76b0b4b1f65b766df3c5614ce04809f40614ebeb98dd6b4662dc1c2bed38d1f78eadc489360d54e35b98b9904 /tmp/dotnet.exe > /tmp/chk; \