From dd5c8d3b75159e291333cb20fa49b7e34c23b18e Mon Sep 17 00:00:00 2001 From: irongut Date: Tue, 23 Nov 2021 20:56:58 +0000 Subject: [PATCH] updated Dockerfile to .Net 6 #23 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index fc747fc..f663bc3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/sdk:5.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build WORKDIR /src COPY ["src/CodeCoverageSummary/CodeCoverageSummary.csproj", "CodeCoverageSummary/"] RUN dotnet restore CodeCoverageSummary/CodeCoverageSummary.csproj @@ -18,7 +18,7 @@ LABEL com.github.actions.description="A GitHub Action that reads Cobertura forma LABEL com.github.actions.icon="book-open" LABEL com.github.actions.color="purple" -FROM mcr.microsoft.com/dotnet/runtime:5.0 AS final +FROM mcr.microsoft.com/dotnet/runtime:6.0 AS final WORKDIR /app COPY --from=build /app/publish . COPY --from=build /src/sample.coverage.xml .