diff --git a/Dockerfile b/Dockerfile index 2f8370a..65a0a4b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -67,12 +67,13 @@ RUN Xvfb :99 -screen 0 1024x768x16 & \ && wineserver --wait \ && kill $XVFB_PID || true -# Download and install .NET SDK with virtual display +# Download .NET SDK RUN cd /tmp \ && wget --progress=bar:force https://builds.dotnet.microsoft.com/dotnet/Sdk/9.0.301/dotnet-sdk-9.0.301-win-x64.exe \ - && while [ ! -f dotnet-sdk-9.0.301-win-x64.exe ] || [ ! -s dotnet-sdk-9.0.301-win-x64.exe ]; do sleep 1; done \ - && echo "Download completed, file size: $(ls -lh dotnet-sdk-9.0.301-win-x64.exe)" \ - && sleep 3 \ + && echo "Download completed, file size: $(ls -lh dotnet-sdk-9.0.301-win-x64.exe)" + +# Install .NET SDK with virtual display +RUN cd /tmp \ && Xvfb :99 -screen 0 1024x768x16 & \ XVFB_PID=$! \ && sleep 3 \