colin icon indicating copy to clipboard operation
colin copied to clipboard

verify that dockerfile overwrites selected labels

Open TomasTomecek opened this issue 6 years ago • 0 comments

If there is a label defined in base image and the dockerfile does not overwrite it, the resulting image may contain incorrect metadata.

This is a check only for dockerfiles.

List of labels: summary description io.k8s.description (same as description) io.k8s.display-name io.openshift.tags com.redhat.component name version

I fear that this check may be false positive in some scenarios (when the layered image contains only minor change which does not invalidate the metadata).

TomasTomecek avatar Jun 15 '18 13:06 TomasTomecek