From 01d6ef05fa61dd37e6672b5ae26bc1f049a98b3a Mon Sep 17 00:00:00 2001 From: Erisa A Date: Sat, 27 Jul 2024 04:18:21 +0100 Subject: [PATCH] Upgrade .NET to 8.0.7 --- Dockerfile | 6 +++--- Dockerfile.multiarch | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 52cef929..2ebd518b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/sdk:8.0.302 AS build-env +FROM mcr.microsoft.com/dotnet/sdk:8.0.303 AS build-env WORKDIR /app # Copy csproj and restore as distinct layers @@ -10,7 +10,7 @@ COPY . ./ RUN dotnet build -c Release -o out # We already have this image pulled, its actually quicker to reuse it -FROM mcr.microsoft.com/dotnet/sdk:8.0.302 AS git-collector +FROM mcr.microsoft.com/dotnet/sdk:8.0.303 AS git-collector WORKDIR /out COPY . . RUN touch dummy.txt && \ @@ -21,7 +21,7 @@ RUN touch dummy.txt && \ fi # Build runtime image -FROM mcr.microsoft.com/dotnet/runtime:8.0.6-alpine3.20 +FROM mcr.microsoft.com/dotnet/runtime:8.0.7-alpine3.20 LABEL com.centurylinklabs.watchtower.enable true WORKDIR /app RUN apk add --no-cache git redis openssh diff --git a/Dockerfile.multiarch b/Dockerfile.multiarch index b4bdec5f..53c9fbf4 100644 --- a/Dockerfile.multiarch +++ b/Dockerfile.multiarch @@ -1,5 +1,5 @@ FROM --platform=${BUILDPLATFORM} \ - mcr.microsoft.com/dotnet/sdk:8.0.302 AS build-env + mcr.microsoft.com/dotnet/sdk:8.0.303 AS build-env WORKDIR /app # Copy csproj and restore as distinct layers @@ -11,7 +11,7 @@ COPY . ./ RUN dotnet build -c Release -o out # We already have this image pulled, its actually quicker to reuse it -FROM mcr.microsoft.com/dotnet/sdk:8.0.302 AS git-collector +FROM mcr.microsoft.com/dotnet/sdk:8.0.303 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:8.0.6-alpine3.20 +FROM mcr.microsoft.com/dotnet/runtime:8.0.7-alpine3.20 LABEL com.centurylinklabs.watchtower.enable true WORKDIR /app RUN apk add --no-cache git redis openssh