diff --git a/csharp/Dockerfile b/csharp/Dockerfile index 2c7d0b1dfdd..13d7865804f 100644 --- a/csharp/Dockerfile +++ b/csharp/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/sdk:8.0 as build +FROM mcr.microsoft.com/dotnet/sdk:9.0 as build WORKDIR /usr/src/app @@ -10,7 +10,7 @@ RUN dotnet restore COPY . . RUN dotnet publish -c release -o out -FROM mcr.microsoft.com/dotnet/aspnet:8.0 +FROM mcr.microsoft.com/dotnet/aspnet:9.0 WORKDIR /usr/src/app diff --git a/fsharp/Dockerfile b/fsharp/Dockerfile index 47fab1f180c..761d30a3280 100644 --- a/fsharp/Dockerfile +++ b/fsharp/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 /usr/src/app @@ -10,7 +10,7 @@ RUN dotnet restore COPY . . RUN dotnet publish -c release -o out -FROM mcr.microsoft.com/dotnet/aspnet:8.0-bookworm-slim +FROM mcr.microsoft.com/dotnet/aspnet:9.0-bookworm-slim WORKDIR /usr/src/app