How can I include the base image's digest in the resulting image? #5889
Unanswered
kodeknecht
asked this question in
Q&A
Replies: 1 comment 6 replies
-
I see this in my image inspect:
|
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'd like to include the base image's digest into the resulting image - preferably as a label. Even after hours of research I was unable to find a solution.
How can I achieve this?
Rational: Here in our company we build dozens of custom base image (based on Red Hat base images) intended for internal use on a bunch of OpenShift clusters. Lately things got a bit messy when Red Hat pushed out new base images in an unprecedented frequency, causing automated builds that overlapped with already running jobs distributing the recently built images to all of our clusters. This triggered some bug in this whole machinery that left us with totally inconsistent image registries on all our clusters.
Cleaning up all that mess was a PITA. It would have been far easier with the information at hand about the exact base image (in our case Red Hat base image) used to build a certain image.
I guess the information is available internally, see 562f718.
Beta Was this translation helpful? Give feedback.
All reactions