Skip to content

Commit 29cf7fc

Browse files
chore(deps): update .net core docker containers
1 parent 5aa6d30 commit 29cf7fc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ WORKDIR /src
1010
COPY ./*.sh ./
1111
RUN shellcheck -e SC1091,SC1090 ./*.sh
1212

13-
FROM mcr.microsoft.com/dotnet/sdk:7.0.305-bullseye-slim AS restore
13+
FROM mcr.microsoft.com/dotnet/sdk:7.0.410-bullseye-slim AS restore
1414
WORKDIR /src
1515
COPY ./*.sln ./
1616
COPY */*.csproj ./
@@ -29,7 +29,7 @@ RUN dotnet test
2929
FROM build AS publish
3030
RUN dotnet publish "./Doppler.HelloMicroservice/Doppler.HelloMicroservice.csproj" -c Release -o /app/publish
3131

32-
FROM mcr.microsoft.com/dotnet/aspnet:7.0.8-bullseye-slim AS final
32+
FROM mcr.microsoft.com/dotnet/aspnet:7.0.20-bullseye-slim AS final
3333
WORKDIR /app
3434
EXPOSE 80
3535
COPY --from=publish /app/publish .

Doppler.HelloMicroservice/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging.
22

3-
FROM mcr.microsoft.com/dotnet/aspnet:7.0.8-bullseye-slim AS base
3+
FROM mcr.microsoft.com/dotnet/aspnet:7.0.20-bullseye-slim AS base
44
WORKDIR /app
55
EXPOSE 80
66

7-
FROM mcr.microsoft.com/dotnet/sdk:7.0.305-bullseye-slim AS build
7+
FROM mcr.microsoft.com/dotnet/sdk:7.0.410-bullseye-slim AS build
88
WORKDIR /src
99
COPY ["Doppler.HelloMicroservice/Doppler.HelloMicroservice.csproj", "Doppler.HelloMicroservice/"]
1010
RUN dotnet restore "Doppler.HelloMicroservice/Doppler.HelloMicroservice.csproj"

0 commit comments

Comments
 (0)