From 59e534f45271419535752745b6a4af5b0b355d26 Mon Sep 17 00:00:00 2001 From: Mathieu Benoit Date: Tue, 3 Sep 2024 19:27:20 -0400 Subject: [PATCH 1/2] Update Dockerfile - 9.0.100-rc.1 --- app/Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/Dockerfile b/app/Dockerfile index b151a1d..ab33aa1 100644 --- a/app/Dockerfile +++ b/app/Dockerfile @@ -1,6 +1,7 @@ # https://mcr.microsoft.com/product/dotnet/sdk # https://mcr.microsoft.com/v2/dotnet/sdk/tags/list -FROM mcr.microsoft.com/dotnet/nightly/sdk:9.0-noble-aot AS builder +# https://mcr.microsoft.com/v2/dotnet/nightly/sdk/tags/list +FROM mcr.microsoft.com/dotnet/nightly/sdk:9.0.100-rc.1-noble-aot AS builder WORKDIR /app COPY my-sample-app.csproj . RUN dotnet restore my-sample-app.csproj \ @@ -17,7 +18,8 @@ RUN dotnet publish my-sample-app.csproj \ # https://mcr.microsoft.com/product/dotnet/runtime-deps # https://mcr.microsoft.com/v2/dotnet/runtime-deps/tags/list -FROM mcr.microsoft.com/dotnet/nightly/runtime-deps:9.0-noble-chiseled-aot +# https://mcr.microsoft.com/v2/dotnet/nightly/runtime-deps/tags/list +FROM mcr.microsoft.com/dotnet/nightly/runtime-deps:9.0.0-rc.1-noble-chiseled-aot WORKDIR /app COPY --from=builder /my-sample-app . EXPOSE 8080 From daf5a0f84e2c4885e17b251b04f7e2b5489f374c Mon Sep 17 00:00:00 2001 From: Mathieu Benoit Date: Tue, 3 Sep 2024 19:38:34 -0400 Subject: [PATCH 2/2] Update my-sample-app.csproj - net9.0 --- app/my-sample-app.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/my-sample-app.csproj b/app/my-sample-app.csproj index 40cb45a..954e982 100644 --- a/app/my-sample-app.csproj +++ b/app/my-sample-app.csproj @@ -1,6 +1,6 @@ - net8.0 + net9.0 true Size true