Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Images should have annotations/labels #20

Open
NeilHanlon opened this issue Apr 9, 2022 · 1 comment
Open

Images should have annotations/labels #20

NeilHanlon opened this issue Apr 9, 2022 · 1 comment

Comments

@NeilHanlon
Copy link
Member

Originally removed per request by Docker Hub official images team.

Background

The images we first published had labels on them with some information. This was removed when going to the Library images because the label-schema spec being used was deprecated. I opted to simply remove all the labels and revisit it at a future time.

Labels

Previously, the container had labels such as:

    org.label-schema.name="Rocky Linux Base Image" \
    org.label-schema.vendor="Rocky Enterprise Software Foundation" \
    org.label-schema.license="BSD-3-Clause" \
    org.label-schema.build-date="20210620" \
    org.opencontainers.image.title="Rocky Linux Base Image" \
    org.opencontainers.image.vendor="Rocky Enterprise Software Foundation" \
    org.opencontainers.image.licenses="BSD-3-Clause" \
    org.opencontainers.image.created="2021-06-20 00:00:00+01:00"

The label-schema annotations are now deprecated: superseded by the OCI image specification standard: https://github.com/opencontainers/image-spec/blob/v1.0.1/annotations.md

We should look and add any labels we think would be helpful, with particular mind to SBOM. This will be automated and generated as part of the image build pipeline.

@NeilHanlon
Copy link
Member Author

@lumarel we might want to integrate this, maybe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant