diff --git a/Dockerfile b/Dockerfile index a14089d4..37fe7faa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/sdk:7.0.306 AS build-env +FROM mcr.microsoft.com/dotnet/sdk:7.0.400 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:7.0.306 AS git-collector +FROM mcr.microsoft.com/dotnet/sdk:7.0.400 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:7.0.9-alpine3.17 +FROM mcr.microsoft.com/dotnet/runtime:7.0.10-alpine3.17 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 5c5caf8a..c79abb9f 100644 --- a/Dockerfile.multiarch +++ b/Dockerfile.multiarch @@ -1,5 +1,5 @@ FROM --platform=${BUILDPLATFORM} \ - mcr.microsoft.com/dotnet/sdk:7.0.306 AS build-env + mcr.microsoft.com/dotnet/sdk:7.0.400 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:7.0.306 AS git-collector +FROM mcr.microsoft.com/dotnet/sdk:7.0.400 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:7.0.9-alpine3.17 +FROM mcr.microsoft.com/dotnet/runtime:7.0.10-alpine3.17 LABEL com.centurylinklabs.watchtower.enable true WORKDIR /app RUN apk add --no-cache git redis openssh