From 693aed485bd70fb72705b7e8831b91b8caf3b211 Mon Sep 17 00:00:00 2001 From: Gamer025 <33846895+Gamer025@users.noreply.github.com> Date: Thu, 25 Aug 2022 11:40:01 +0200 Subject: [PATCH] Upgrade Dockerfile to NET6 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index a5adae0..8d8f041 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Set the base image as the .NET 5.0 SDK (this includes the runtime) -FROM mcr.microsoft.com/dotnet/sdk:5.0 as build-env +FROM mcr.microsoft.com/dotnet/sdk:6.0 as build-env # Copy everything and publish the release (publish implicitly restores and builds) COPY . ./ @@ -20,6 +20,6 @@ LABEL com.github.actions.icon="bell" LABEL com.github.actions.color="white" # Relayer the .NET SDK, anew with the build output -FROM mcr.microsoft.com/dotnet/runtime:5.0 +FROM mcr.microsoft.com/dotnet/runtime:6.0 COPY --from=build-env /out . ENTRYPOINT ["dotnet", "/CodeOwnersParser.dll"] \ No newline at end of file