Update .NET to v10 #2
This commit is contained in:
parent
0b3ef56942
commit
e136f9af2d
1 changed files with 5 additions and 4 deletions
|
|
@ -17,10 +17,11 @@ RUN apt update && apt install -y \
|
||||||
libcurl4-openssl-dev \
|
libcurl4-openssl-dev \
|
||||||
libmaxminddb-dev \
|
libmaxminddb-dev \
|
||||||
curl \
|
curl \
|
||||||
&& curl -sSL https://packages.microsoft.com/config/debian/11/packages-microsoft-prod.deb -o packages-microsoft-prod.deb \
|
&& curl -sSL https://dot.net/v1/dotnet-install.sh -o dotnet-install.sh \
|
||||||
&& dpkg -i packages-microsoft-prod.deb \
|
&& chmod +x dotnet-install.sh \
|
||||||
&& rm packages-microsoft-prod.deb \
|
&& ./dotnet-install.sh --channel 10.0 --install-dir /usr/share/dotnet \
|
||||||
&& apt update && apt install -y dotnet-sdk-10.0
|
&& rm dotnet-install.sh \
|
||||||
|
&& ln -sf /usr/share/dotnet/dotnet /usr/bin/dotnet
|
||||||
|
|
||||||
RUN git config --system --add safe.directory '*'
|
RUN git config --system --add safe.directory '*'
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue