From 9a29106056456694b0323ee8a25a2549f7c74565 Mon Sep 17 00:00:00 2001 From: HeikkiHei Date: Mon, 20 May 2024 13:59:51 +0300 Subject: [PATCH] Update csharp-dotnet8 sandbox to dotnet8.0 --- csharp-dotnet8/Dockerfile | 4 ++-- csharp-dotnet8/NuGetDownloader/NuGetDownloader.csproj | 2 +- csharp-dotnet8/NuGetDownloader/config.json | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/csharp-dotnet8/Dockerfile b/csharp-dotnet8/Dockerfile index 7289185..a1fd5db 100644 --- a/csharp-dotnet8/Dockerfile +++ b/csharp-dotnet8/Dockerfile @@ -9,7 +9,7 @@ RUN useradd --create-home user && \ wget https://packages.microsoft.com/config/debian/11/packages-microsoft-prod.deb -O packages-microsoft-prod.deb && \ dpkg -i packages-microsoft-prod.deb && \ apt-get update && \ - apt-get install -y dotnet-sdk-6.0 && \ + apt-get install -y dotnet-sdk-8.0 && \ rm -rf /var/lib/apt/lists/* # Make sure to install packages locales and locales-all in addition to these @@ -36,7 +36,7 @@ RUN useradd --create-home user && \ wget https://packages.microsoft.com/config/debian/11/packages-microsoft-prod.deb -O packages-microsoft-prod.deb && \ dpkg -i packages-microsoft-prod.deb && \ apt-get update && \ - apt-get install -y dotnet-sdk-6.0 && \ + apt-get install -y dotnet-sdk-8.0 && \ rm -rf /var/lib/apt/lists/* # Make sure to install packages locales and locales-all in addition to these diff --git a/csharp-dotnet8/NuGetDownloader/NuGetDownloader.csproj b/csharp-dotnet8/NuGetDownloader/NuGetDownloader.csproj index a79880a..da386fb 100644 --- a/csharp-dotnet8/NuGetDownloader/NuGetDownloader.csproj +++ b/csharp-dotnet8/NuGetDownloader/NuGetDownloader.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable LatestMajor diff --git a/csharp-dotnet8/NuGetDownloader/config.json b/csharp-dotnet8/NuGetDownloader/config.json index bf1372d..66c8825 100644 --- a/csharp-dotnet8/NuGetDownloader/config.json +++ b/csharp-dotnet8/NuGetDownloader/config.json @@ -27,9 +27,9 @@ "2.4.5" ], "Microsoft.NETCore.App.Ref": [ - "5.0.0" + "6.0.0" ], "Microsoft.AspNetCore.App.Ref": [ - "5.0.0" + "6.0.0" ] } \ No newline at end of file