From f06d684f4bcff5728d33175ccc0b8aaa4c0a11f9 Mon Sep 17 00:00:00 2001 From: Alex Hemsath <57361211+nr-ahemsath@users.noreply.github.com> Date: Wed, 20 Nov 2024 09:58:02 -0800 Subject: [PATCH] Update dotnet Dockerfile to .NET 9 (#127) .NET 9 went GA last week and we want to start using it here. --- tests/dotnet/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/dotnet/Dockerfile b/tests/dotnet/Dockerfile index 9dacbec9..a9ef9e8f 100644 --- a/tests/dotnet/Dockerfile +++ b/tests/dotnet/Dockerfile @@ -1,9 +1,9 @@ -FROM mcr.microsoft.com/dotnet/aspnet:8.0-jammy AS base +FROM mcr.microsoft.com/dotnet/aspnet:9.0-noble AS base WORKDIR /app EXPOSE 80 ENV ASPNETCORE_URLS=http://+:80 -FROM mcr.microsoft.com/dotnet/sdk:8.0-jammy AS build +FROM mcr.microsoft.com/dotnet/sdk:9.0-noble AS build WORKDIR /src RUN dotnet new webapi --name WeatherForecast --output ./ RUN dotnet publish -o /app/publish