Skip to content

Commit

Permalink
Upgrade .NET to 7.0.13
Browse files Browse the repository at this point in the history
  • Loading branch information
Erisa authored Oct 26, 2023
1 parent 0c81707 commit a9f9b70
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.401 AS build-env
FROM mcr.microsoft.com/dotnet/sdk:7.0.403 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.401 AS git-collector
FROM mcr.microsoft.com/dotnet/sdk:7.0.403 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.11-alpine3.18
FROM mcr.microsoft.com/dotnet/runtime:7.0.13-alpine3.18
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.401 AS build-env
mcr.microsoft.com/dotnet/sdk:7.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:7.0.401 AS git-collector
FROM mcr.microsoft.com/dotnet/sdk:7.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:7.0.11-alpine3.18
FROM mcr.microsoft.com/dotnet/runtime:7.0.13-alpine3.18
LABEL com.centurylinklabs.watchtower.enable true
WORKDIR /app
RUN apk add --no-cache git redis openssh
Expand Down

0 comments on commit a9f9b70

Please sign in to comment.