Skip to content

Commit 5499b5d

Browse files
committed
Make /usr/share/dotnet/ a link to the installed .NET.
Attempt to fix runners that are executing a published .NET application.
1 parent 721f07c commit 5499b5d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

linux/summerwind.Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ RUN curl -L https://dot.net/v1/dotnet-install.sh -o /home/runner/dotnet-install.
5454
/home/runner/dotnet-install.sh --install-dir $DOTNET_INSTALL_DIR --channel 8.0 && \
5555
/home/runner/dotnet-install.sh --install-dir $DOTNET_INSTALL_DIR --channel 9.0 && \
5656
/home/runner/dotnet-install.sh --install-dir $DOTNET_INSTALL_DIR --channel 10.0 && \
57-
rm /home/runner/dotnet-install.sh
57+
rm /home/runner/dotnet-install.sh && \
58+
sudo ln -s /home/runner/.dotnet/ /usr/share/dotnet
5859

5960
COPY docker-system-prune /etc/arc/hooks/job-completed.d/
6061

0 commit comments

Comments
 (0)