Compare commits
2 Commits
e5c7731ecb
...
e2b30b3f9e
Author | SHA1 | Date | |
---|---|---|---|
e2b30b3f9e | |||
754eabf1e5 |
@@ -69,9 +69,10 @@ RUN Xvfb :99 -screen 0 1024x768x16 & \
|
||||
|
||||
# Download and install .NET SDK with virtual display
|
||||
RUN cd /tmp \
|
||||
&& wget https://builds.dotnet.microsoft.com/dotnet/Sdk/9.0.301/dotnet-sdk-9.0.301-win-x64.exe \
|
||||
&& 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 2 \
|
||||
&& sleep 3 \
|
||||
&& Xvfb :99 -screen 0 1024x768x16 & \
|
||||
XVFB_PID=$! \
|
||||
&& sleep 3 \
|
||||
@@ -96,4 +97,4 @@ RUN Xvfb :99 -screen 0 1024x768x16 & \
|
||||
WORKDIR /home/wineuser/projects
|
||||
|
||||
# Default command
|
||||
CMD ["/bin/bash", "-l"]
|
||||
CMD ["/bin/bash"]
|
||||
|
Reference in New Issue
Block a user