Skip to content

Commit e2f2e9c

Browse files
Update Docker Images
1 parent 6f1cecd commit e2f2e9c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/api/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#######################################################
44
# Download the official ASP.NET Core SDK image
55
# to build the project while creating the docker image
6-
FROM mcr.microsoft.com/dotnet/sdk:6 as build
6+
FROM mcr.microsoft.com/dotnet/sdk:6.0 as build
77
WORKDIR /app
88

99
# Restore NuGet packages
@@ -27,7 +27,7 @@ RUN dotnet test --configuration Release MicroCommunication.Api.Tests/MicroCommun
2727
#######################################################
2828
# Download the official ASP.NET Core Runtime image
2929
# to run the compiled application
30-
FROM mcr.microsoft.com/dotnet/aspnet:6
30+
FROM mcr.microsoft.com/dotnet/aspnet:6.0
3131
WORKDIR /app
3232

3333
# Open port

src/random/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#######################################################
44
# Download the official ASP.NET Core SDK image
55
# to build the project while creating the docker image
6-
FROM mcr.microsoft.com/dotnet/sdk:6 as build
6+
FROM mcr.microsoft.com/dotnet/sdk:6.0 as build
77
WORKDIR /app
88

99
# Restore NuGet packages
@@ -26,7 +26,7 @@ RUN dotnet test --configuration Release MicroCommunication.Random.Tests/MicroCom
2626
#######################################################
2727
# Download the official ASP.NET Core Runtime image
2828
# to run the compiled application
29-
FROM mcr.microsoft.com/dotnet/aspnet:6
29+
FROM mcr.microsoft.com/dotnet/aspnet:6.0
3030
WORKDIR /app
3131

3232
# Open port

0 commit comments

Comments
 (0)