diff --git a/Dfe.Academies.Api.Infrastructure/Dfe.Academies.Infrastructure.csproj b/Dfe.Academies.Api.Infrastructure/Dfe.Academies.Infrastructure.csproj index 2dfff149..97d4cff6 100644 --- a/Dfe.Academies.Api.Infrastructure/Dfe.Academies.Infrastructure.csproj +++ b/Dfe.Academies.Api.Infrastructure/Dfe.Academies.Infrastructure.csproj @@ -9,15 +9,15 @@ - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - + + + diff --git a/Dfe.Academies.Application/Dfe.Academies.Application.csproj b/Dfe.Academies.Application/Dfe.Academies.Application.csproj index 093efe84..45e75692 100644 --- a/Dfe.Academies.Application/Dfe.Academies.Application.csproj +++ b/Dfe.Academies.Application/Dfe.Academies.Application.csproj @@ -13,9 +13,9 @@ - - - + + + diff --git a/Dfe.PersonsApi.Client/Dfe.PersonsApi.Client.csproj b/Dfe.PersonsApi.Client/Dfe.PersonsApi.Client.csproj index 94729837..98b6ef91 100644 --- a/Dfe.PersonsApi.Client/Dfe.PersonsApi.Client.csproj +++ b/Dfe.PersonsApi.Client/Dfe.PersonsApi.Client.csproj @@ -20,11 +20,11 @@ - - - - - + + + + + diff --git a/Dockerfile b/Dockerfile index 3f295ed1..1373920b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/sdk:8.0-bookworm-slim AS build +FROM mcr.microsoft.com/dotnet/sdk:9.0-bookworm-slim AS build WORKDIR /build ENV DEBIAN_FRONTEND=noninteractive @@ -26,7 +26,7 @@ RUN dotnet build -c Release TramsDataApi.sln --no-restore -p:CI=${CI} RUN dotnet publish TramsDataApi -c Release -o /app --no-restore ARG ASPNET_IMAGE_TAG -FROM mcr.microsoft.com/dotnet/aspnet:8.0-bookworm-slim AS final +FROM mcr.microsoft.com/dotnet/aspnet:9.0-bookworm-slim AS final RUN apt-get update RUN apt-get install unixodbc curl gnupg -y diff --git a/Dockerfile.PersonsApi b/Dockerfile.PersonsApi index 751f94b8..42c27302 100644 --- a/Dockerfile.PersonsApi +++ b/Dockerfile.PersonsApi @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/sdk:8.0-bookworm-slim AS build +FROM mcr.microsoft.com/dotnet/sdk:9.0-bookworm-slim AS build WORKDIR /build ENV DEBIAN_FRONTEND=noninteractive @@ -17,7 +17,7 @@ RUN dotnet tool install dotnet-ef --version 8.0.8 ENV PATH="$PATH:/root/.dotnet/tools" ARG ASPNET_IMAGE_TAG -FROM mcr.microsoft.com/dotnet/aspnet:8.0-bookworm-slim AS final +FROM mcr.microsoft.com/dotnet/aspnet:9.0-bookworm-slim AS final RUN apt-get update RUN apt-get install unixodbc curl gnupg -y diff --git a/PersonsApi/PersonsApi.csproj b/PersonsApi/PersonsApi.csproj index 461f8bec..e6efb232 100644 --- a/PersonsApi/PersonsApi.csproj +++ b/PersonsApi/PersonsApi.csproj @@ -13,17 +13,17 @@ - - + + - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + @@ -35,7 +35,7 @@ - + diff --git a/Tests/Dfe.Academies.PersonsApi.Tests.Integration/Dfe.Academies.PersonsApi.Tests.Integration.csproj b/Tests/Dfe.Academies.PersonsApi.Tests.Integration/Dfe.Academies.PersonsApi.Tests.Integration.csproj index 520969c8..3e6c27ba 100644 --- a/Tests/Dfe.Academies.PersonsApi.Tests.Integration/Dfe.Academies.PersonsApi.Tests.Integration.csproj +++ b/Tests/Dfe.Academies.PersonsApi.Tests.Integration/Dfe.Academies.PersonsApi.Tests.Integration.csproj @@ -12,10 +12,10 @@ - - - - + + + + diff --git a/Tests/Dfe.Academies.Tests.Common/Dfe.Academies.Tests.Common.csproj b/Tests/Dfe.Academies.Tests.Common/Dfe.Academies.Tests.Common.csproj index d6bca8fb..b542d237 100644 --- a/Tests/Dfe.Academies.Tests.Common/Dfe.Academies.Tests.Common.csproj +++ b/Tests/Dfe.Academies.Tests.Common/Dfe.Academies.Tests.Common.csproj @@ -21,10 +21,10 @@ - - - - + + + + diff --git a/TramsDataApi.Test/TramsDataApi.Test.csproj b/TramsDataApi.Test/TramsDataApi.Test.csproj index e7930fee..bdc2d403 100644 --- a/TramsDataApi.Test/TramsDataApi.Test.csproj +++ b/TramsDataApi.Test/TramsDataApi.Test.csproj @@ -18,13 +18,13 @@ - - + + - + runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/TramsDataApi/TramsDataApi.csproj b/TramsDataApi/TramsDataApi.csproj index 6210734e..4952c564 100644 --- a/TramsDataApi/TramsDataApi.csproj +++ b/TramsDataApi/TramsDataApi.csproj @@ -21,17 +21,17 @@ - - + + - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - +