From 84d73431817b6abfa05cf5711f384722710ca20b Mon Sep 17 00:00:00 2001 From: Erisa A Date: Thu, 13 Feb 2025 11:01:51 +0000 Subject: [PATCH] Upgrade .NET to 9.0.2 --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 41d8696c..1791b1ee 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ FROM --platform=${BUILDPLATFORM} \ - mcr.microsoft.com/dotnet/sdk:9.0.102 AS build-env + mcr.microsoft.com/dotnet/sdk:9.0.200 AS build-env WORKDIR /app # Copy csproj and restore as distinct layers @@ -11,7 +11,7 @@ COPY . ./ RUN dotnet publish Cliptok.csproj -c Release --property:PublishDir=$PWD/out # We already have this image pulled, its actually quicker to reuse it -FROM mcr.microsoft.com/dotnet/sdk:9.0.102 AS git-collector +FROM mcr.microsoft.com/dotnet/sdk:9.0.200 AS git-collector WORKDIR /out COPY . . RUN touch dummy.txt && \ @@ -22,7 +22,7 @@ RUN touch dummy.txt && \ fi # Build runtime image -FROM mcr.microsoft.com/dotnet/runtime:9.0.1-alpine3.21 +FROM mcr.microsoft.com/dotnet/runtime:9.0.2-alpine3.21 LABEL com.centurylinklabs.watchtower.enable=true WORKDIR /app ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false \