Skip to content

Commit

Permalink
Pin Docker image ...osoft.com/dotnet/aspnet:latest
Browse files Browse the repository at this point in the history
mcr.microsoft.com/dotnet/aspnet
->
mcr.microsoft.com/dotnet/aspnet:latest@sha256:3edfb4ea7067e24b3aa5c6ab585e85a26c7daabfec26829b8efabeb122de4364

 [atomist:generated]
 [atomist-skill:atomist/docker-base-image-policy]

Signed-off-by: Atomist Bot <bot@atomist.com>
  • Loading branch information
atomist-bot committed Oct 5, 2022
1 parent 04ff1ed commit 684da43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/en/examples/Dotnet/compose/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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:3edfb4ea7067e24b3aa5c6ab585e85a26c7daabfec26829b8efabeb122de4364 as base
COPY --from=build /publish /app
WORKDIR /app
EXPOSE 80
Expand Down

0 comments on commit 684da43

Please sign in to comment.