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