Skip to content

verify that dockerfile overwrites selected labels #145

@TomasTomecek

Description

@TomasTomecek

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions