Skip to content

Commit

Permalink
Upgrade .NET to 7.0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
Erisa authored Aug 27, 2023
1 parent b75264e commit 0aaff32
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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 && \
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile.multiarch
Original file line number Diff line number Diff line change
@@ -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
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: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 && \
Expand All @@ -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
Expand Down

0 comments on commit 0aaff32

Please sign in to comment.