diff --git a/src/CodeReview.Orchestrator/CodeReview.Orchestrator.csproj b/src/CodeReview.Orchestrator/CodeReview.Orchestrator.csproj index feab1a5..1d2d37c 100644 --- a/src/CodeReview.Orchestrator/CodeReview.Orchestrator.csproj +++ b/src/CodeReview.Orchestrator/CodeReview.Orchestrator.csproj @@ -2,7 +2,7 @@ Exe - net5.0 + net9.0 GodelTech.CodeReview.Orchestrator @@ -32,7 +32,7 @@ - + diff --git a/src/CodeReview.Orchestrator/Dockerfile b/src/CodeReview.Orchestrator/Dockerfile index 548aa1a..c7bb978 100644 --- a/src/CodeReview.Orchestrator/Dockerfile +++ b/src/CodeReview.Orchestrator/Dockerfile @@ -1,5 +1,5 @@ #See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging. -FROM mcr.microsoft.com/dotnet/sdk:5.0-alpine AS build +FROM mcr.microsoft.com/dotnet/sdk:9.0-alpine AS build WORKDIR /app COPY ["CodeReview.Orchestrator/*.csproj", "CodeReview.Orchestrator/"] RUN dotnet restore "CodeReview.Orchestrator/CodeReview.Orchestrator.csproj" -r linux-musl-x64 --force @@ -7,7 +7,7 @@ RUN dotnet restore "CodeReview.Orchestrator/CodeReview.Orchestrator.csproj" -r l COPY CodeReview.Orchestrator/. ./CodeReview.Orchestrator/ RUN dotnet publish ./CodeReview.Orchestrator/CodeReview.Orchestrator.csproj -c Release -r linux-musl-x64 -o ./CodeReview.Orchestrator/out /p:PublishTrimmed=true -FROM mcr.microsoft.com/dotnet/runtime-deps:5.0-alpine3.15 AS runtime +FROM mcr.microsoft.com/dotnet/runtime-deps:9.0-alpine AS runtime WORKDIR /app COPY --from=build /app/CodeReview.Orchestrator/out . diff --git a/test/CodeReview.Orchestrator.SubsystemTests/CodeReview.Orchestrator.SubsystemTests.csproj b/test/CodeReview.Orchestrator.SubsystemTests/CodeReview.Orchestrator.SubsystemTests.csproj index ebf6541..3a6177c 100644 --- a/test/CodeReview.Orchestrator.SubsystemTests/CodeReview.Orchestrator.SubsystemTests.csproj +++ b/test/CodeReview.Orchestrator.SubsystemTests/CodeReview.Orchestrator.SubsystemTests.csproj @@ -1,7 +1,7 @@ - net5.0 + net9.0 Debug;Release AnyCPU diff --git a/test/CodeReview.Orchestrator.Tests/CodeReview.Orchestrator.Tests.csproj b/test/CodeReview.Orchestrator.Tests/CodeReview.Orchestrator.Tests.csproj index 676a536..757d548 100644 --- a/test/CodeReview.Orchestrator.Tests/CodeReview.Orchestrator.Tests.csproj +++ b/test/CodeReview.Orchestrator.Tests/CodeReview.Orchestrator.Tests.csproj @@ -1,7 +1,7 @@ - net5.0 + net9.0 false GodelTech.CodeReview.Orchestrator.Tests