From a342696772a5d22b63f2b2c9357e106dfe410014 Mon Sep 17 00:00:00 2001 From: Ahmed-Ghanam <114151129+Ahmed-Ghanam@users.noreply.github.com> Date: Fri, 10 Jan 2025 10:38:03 +0100 Subject: [PATCH] Specify the minor version of the Docker images (#91) --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 59770ca..fc5a07e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ #Use the official .NET SDK image with Alpine Linux as a base image -FROM mcr.microsoft.com/dotnet/sdk:9.0-alpine3.20 AS build +FROM mcr.microsoft.com/dotnet/sdk:9.0.101-alpine3.20 AS build # Set the working directory in the container WORKDIR /app @@ -17,7 +17,7 @@ RUN dotnet publish -c Release -o out ./src/Altinn.Notifications.Sms/Altinn.Notif # Use the official .NET runtime image with Alpine Linux as a base image -FROM mcr.microsoft.com/dotnet/aspnet:9.0-alpine3.20 AS final +FROM mcr.microsoft.com/dotnet/aspnet:9.0.0-alpine3.20 AS final EXPOSE 5092 WORKDIR /app COPY --from=build /app/out ./