From 8eebd95c0811a28fecff04d1277629af86e5c065 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 12 Nov 2024 15:19:01 +0000
Subject: [PATCH] Update dotnet monorepo to v9

---
 Dockerfile            | 4 ++--
 Dockerfile.PersonsApi | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 3f295ed1b..1373920b2 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 751f94b8d..42c273027 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