Enhance Dockerfile: improve .NET SDK installation command to ensure successful execution with multiple options

This commit is contained in:
2025-07-07 00:38:49 +02:00
parent 683701d067
commit c96ccee9b8

View File

@@ -77,7 +77,7 @@ RUN cd /tmp \
&& Xvfb :99 -screen 0 1024x768x16 & \ && Xvfb :99 -screen 0 1024x768x16 & \
XVFB_PID=$! \ XVFB_PID=$! \
&& sleep 3 \ && sleep 3 \
&& wine dotnet-sdk-9.0.301-win-x64.exe /quiet \ && wine dotnet-sdk-9.0.301-win-x64.exe /S || wine dotnet-sdk-9.0.301-win-x64.exe /quiet || wine dotnet-sdk-9.0.301-win-x64.exe \
&& wineserver --wait \ && wineserver --wait \
&& kill $XVFB_PID || true \ && kill $XVFB_PID || true \
&& rm dotnet-sdk-9.0.301-win-x64.exe || true && rm dotnet-sdk-9.0.301-win-x64.exe || true