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 <bot@atomist.com>
This commit is contained in:
Atomist Bot 2022-10-05 15:48:32 +00:00
Родитель eee3c4ff71
Коммит 3159b35c28
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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