diff --git a/csharp/Dockerfile b/csharp/Dockerfile index 00fb87f0bfc..7454d75be2b 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 2805ee8fc86..2cfa89c0442 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