File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -9,13 +9,13 @@ ENV LC_ALL=en_US.UTF-8
99RUN apt-get update \
1010 && apt-get install -y curl
1111
12- RUN curl --location https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb \
13- --output packages-microsoft-prod.deb \
14- && dpkg -i packages-microsoft-prod.deb \
15- && rm packages-microsoft-prod.deb
16-
17- RUN apt-get update && \
18- apt-get install -y dotnet-sdk-6.0
12+ RUN curl --location https://dot.net/v1/dotnet-install.sh \
13+ --output dotnet-install.sh \
14+ && chmod +x dotnet-install.sh \
15+ && ./dotnet-install.sh --channel 6.0
16+ && rm dotnet-install.sh
17+ ENV DOTNET_ROOT=$HOME/.dotnet
18+ ENV PATH=$PATH:$HOME/. dotnet:$HOME/.dotnet/tools
1919
2020ENV NI_HOME=/opt/nuget-inspector/bin
2121ENV PATH=$PATH:$NI_HOME
You can’t perform that action at this time.
0 commit comments