Skip to content

Conversation

@atomist
Copy link

@atomist atomist bot commented Nov 17, 2022

This pull request pins the following Docker base images in Dockerfile to their current digests.

FROM mcr.microsoft.com/dotnet/runtime:7.0@sha256:bc86158b6c02a0983e3377be0a71b17982ca5ccb00840b0c44abc4184f6326a7 AS base

Digest sha256:bc86158b6c02a0983e3377be0a71b17982ca5ccb00840b0c44abc4184f6326a7 references a multi-CPU architecture image manifest. This image supports the following architectures:

  • sha256:86bbdbb63dbfd89509ca8c3f0244a318acc4919dd6117aa19da2500ddec5207b linux/amd64
  • sha256:c386882f5e6c54d8710616bc6ed1c0124822de94105f03b4173d0186bdd013aa linux/arm/v7
  • sha256:2786688bbc1ee130572e8d04cb5e33817266c7322f4398a29d20386760ad1abd linux/arm64/v8
  • sha256:91ece70a9a6338abf2525c90030b630ad6f249cc29b529090998706be5230a36 windows/amd64
  • sha256:cf6c3fc27a40f90e6fd3d22fba2371327287803a80e59fbbb3c908b6c274cd53 windows/amd64

FROM mcr.microsoft.com/dotnet/sdk:7.0@sha256:a320a69c64e425e7eb42f8841d034fc3a4bb7a925ebb834c13680925c85e282c AS build

Digest sha256:a320a69c64e425e7eb42f8841d034fc3a4bb7a925ebb834c13680925c85e282c references a multi-CPU architecture image manifest. This image supports the following architectures:

  • sha256:77f18f87a309d53015601a388f0108e8e0742b98cade2ba5276605799e662b09 linux/amd64
  • sha256:a47ea685326c54067b7819d00bf0cb03e98e56c202bbbab22a4bb249cb2977d5 linux/arm/v7
  • sha256:37062ef2dc44d9e3f4d82632c28702833d7578ae9da4cf40ff52a080e844bd48 linux/arm64/v8
  • sha256:03f882c3dbb4ac697ff9fe4191d4892144318836986bf95f5b7dc67813b8861d windows/amd64
  • sha256:4cff7618d17797f0e9bfe534890564a98326c98260f434a953ff340c5f8eb5d1 windows/amd64

Pinning FROM lines to digests makes your builds repeatable. Atomist will raise new pull requests whenever the tag moves, so that you know when the base image has been updated. You can follow a new tag at any time. Just replace the digest with the new tag you want to follow. Atomist, will switch to following this new tag.


File changed:

mcr.microsoft.com/dotnet/runtime:7.0
->
mcr.microsoft.com/dotnet/runtime:7.0@sha256:bc86158b6c02a0983e3377be0a71b17982ca5ccb00840b0c44abc4184f6326a7

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

Signed-off-by: Atomist Bot <bot@atomist.com>
mcr.microsoft.com/dotnet/sdk:7.0
->
mcr.microsoft.com/dotnet/sdk:7.0@sha256:a320a69c64e425e7eb42f8841d034fc3a4bb7a925ebb834c13680925c85e282c

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

Signed-off-by: Atomist Bot <bot@atomist.com>
@k7hpn k7hpn merged commit e93205e into main Nov 17, 2022
@k7hpn k7hpn deleted the atomist/pin-docker-base-image/dockerfile branch November 17, 2022 00:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants