Enhance Dockerfile: improve .NET SDK installation command to ensure successful execution with multiple options
This commit is contained in:
@@ -77,7 +77,7 @@ RUN cd /tmp \
|
||||
&& Xvfb :99 -screen 0 1024x768x16 & \
|
||||
XVFB_PID=$! \
|
||||
&& 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 \
|
||||
&& kill $XVFB_PID || true \
|
||||
&& rm dotnet-sdk-9.0.301-win-x64.exe || true
|
||||
|
Reference in New Issue
Block a user