diff --git a/Compatibility/AnnotationBased/Dockerfile b/Compatibility/AnnotationBased/Dockerfile index 9cfb6de..d0f3c7e 100644 --- a/Compatibility/AnnotationBased/Dockerfile +++ b/Compatibility/AnnotationBased/Dockerfile @@ -1,5 +1,5 @@ # syntax=docker/dockerfile:1 -FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build-env +FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build-env WORKDIR /app # Copy csproj and restore as distinct layers @@ -10,7 +10,7 @@ RUN dotnet restore RUN dotnet publish -c Release -o out # Build runtime image -FROM mcr.microsoft.com/dotnet/aspnet:7.0 +FROM mcr.microsoft.com/dotnet/aspnet:8.0 WORKDIR /app COPY --from=build-env /app/Compatibility/AnnotationBased/out . EXPOSE 4001 diff --git a/Compatibility/CodeFirst/Dockerfile b/Compatibility/CodeFirst/Dockerfile index 36ef485..8a40147 100644 --- a/Compatibility/CodeFirst/Dockerfile +++ b/Compatibility/CodeFirst/Dockerfile @@ -1,5 +1,5 @@ # syntax=docker/dockerfile:1 -FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build-env +FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build-env WORKDIR /app # Copy csproj and restore as distinct layers @@ -10,7 +10,7 @@ RUN dotnet restore RUN dotnet publish -c Release -o out # Build runtime image -FROM mcr.microsoft.com/dotnet/aspnet:7.0 +FROM mcr.microsoft.com/dotnet/aspnet:8.0 WORKDIR /app COPY --from=build-env /app/Compatibility/CodeFirst/out . EXPOSE 4001 diff --git a/global.json b/global.json index d3af73d..f0fef7c 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "6.0.417", + "version": "8.0.100", "rollForward": "latestMajor" } } \ No newline at end of file