From eee3c4ff715267b0e747f9dd21f17a9594e5599d Mon Sep 17 00:00:00 2001 From: Atomist Bot Date: Wed, 5 Oct 2022 15:48:31 +0000 Subject: [PATCH 1/2] Pin Docker image ...icrosoft.com/dotnet/sdk:latest mcr.microsoft.com/dotnet/sdk -> mcr.microsoft.com/dotnet/sdk:latest@sha256:2fdad630a59fbdecbfcc6aaf3ccae96eea0e8d24cd4607669fde0de107a94c53 [atomist:generated] [atomist-skill:atomist/docker-base-image-policy] Signed-off-by: Atomist Bot --- content/en/examples/Dotnet/compose/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/examples/Dotnet/compose/Dockerfile b/content/en/examples/Dotnet/compose/Dockerfile index 2039da4786..59a02eb4c5 100644 --- a/content/en/examples/Dotnet/compose/Dockerfile +++ b/content/en/examples/Dotnet/compose/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/sdk as build +FROM mcr.microsoft.com/dotnet/sdk:latest@sha256:2fdad630a59fbdecbfcc6aaf3ccae96eea0e8d24cd4607669fde0de107a94c53 as build COPY . ./src WORKDIR /src RUN dotnet build -o /app From 3159b35c28179fd3cd12f8a7f7cd06d0d51bf6e3 Mon Sep 17 00:00:00 2001 From: Atomist Bot Date: Wed, 5 Oct 2022 15:48:32 +0000 Subject: [PATCH 2/2] Pin Docker image ...osoft.com/dotnet/aspnet:latest mcr.microsoft.com/dotnet/aspnet -> mcr.microsoft.com/dotnet/aspnet:latest@sha256:99d7ef1ce989ace31dfef826a3e702606f19774665acd1d00cd3d29f3e6e3149 [atomist:generated] [atomist-skill:atomist/docker-base-image-policy] Signed-off-by: Atomist Bot --- content/en/examples/Dotnet/compose/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/examples/Dotnet/compose/Dockerfile b/content/en/examples/Dotnet/compose/Dockerfile index 59a02eb4c5..13bac0effa 100644 --- a/content/en/examples/Dotnet/compose/Dockerfile +++ b/content/en/examples/Dotnet/compose/Dockerfile @@ -4,7 +4,7 @@ WORKDIR /src RUN dotnet build -o /app RUN dotnet publish -o /publish -FROM mcr.microsoft.com/dotnet/aspnet as base +FROM mcr.microsoft.com/dotnet/aspnet:latest@sha256:99d7ef1ce989ace31dfef826a3e702606f19774665acd1d00cd3d29f3e6e3149 as base COPY --from=build /publish /app WORKDIR /app EXPOSE 80