Skip to content

Commit

Permalink
Upgrade Dockerfile to NET6
Browse files Browse the repository at this point in the history
  • Loading branch information
Gamer025 committed Aug 25, 2022
1 parent 2f07ef1 commit 693aed4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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 . ./
Expand All @@ -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"]

0 comments on commit 693aed4

Please sign in to comment.