Skip to content

Commit

Permalink
docker: upgrade .NET to 8.0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
Erisa authored Oct 25, 2024
1 parent 2b36d4b commit 1568aec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM --platform=${BUILDPLATFORM} \
mcr.microsoft.com/dotnet/sdk:8.0.401 AS build-env
mcr.microsoft.com/dotnet/sdk:8.0.403 AS build-env
WORKDIR /app

# Copy csproj and restore as distinct layers
Expand All @@ -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.401 AS git-collector
FROM mcr.microsoft.com/dotnet/sdk:8.0.403 AS git-collector
WORKDIR /out
COPY . .
RUN touch dummy.txt && \
Expand All @@ -22,7 +22,7 @@ RUN touch dummy.txt && \
fi

# Build runtime image
FROM mcr.microsoft.com/dotnet/runtime:8.0.8-alpine3.20
FROM mcr.microsoft.com/dotnet/runtime:8.0.10-alpine3.20
LABEL com.centurylinklabs.watchtower.enable=true
WORKDIR /app
RUN apk add --no-cache git redis openssh
Expand Down

0 comments on commit 1568aec

Please sign in to comment.