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

Add support for OCI spec annotations (and legacy LABEL) #24

Open
pombredanne opened this issue Jul 17, 2020 · 0 comments
Open

Add support for OCI spec annotations (and legacy LABEL) #24

pombredanne opened this issue Jul 17, 2020 · 0 comments

Comments

@pombredanne
Copy link
Member

pombredanne commented Jul 17, 2020

These can be added as LABEL from a Dockerfile https://github.com/Tekki/docker-perl-test/blob/e52c397f9daf04ca89c416b76b610da5ae1cc15a/p16/Dockerfile#L24 and were initially specified in http://label-schema.org/rc1/ and are now specified at https://github.com/opencontainers/image-spec/blob/master/annotations.md

Some key/values are predefined:
https://github.com/opencontainers/image-spec/blob/master/annotations.md#pre-defined-annotation-keys :

  • org.opencontainers.image.created: date/timestamp
  • org.opencontainers.image.authors: contact details of the people or organization responsible for the image (freeform string)
  • org.opencontainers.image.url: homepage URL
  • org.opencontainers.image.documentation: documentation URL
  • org.opencontainers.image.source: VCS/download URL
  • org.opencontainers.image.version: version ideally semver and mapped to a VCS repo tag
  • org.opencontainers.image.revision: VCS revision e.g. git commit in org.opencontainers.image.source
  • org.opencontainers.image.vendor: author (e.g. created_by)
  • org.opencontainers.image.licenses: Should be an SPDX License Expression
  • org.opencontainers.image.ref.name: unclear... "Name of the reference for a target"
  • org.opencontainers.image.title: brief summary or "name" of the image?
  • org.opencontainers.image.description: long description

These are some examples:

@pombredanne pombredanne changed the title Add support for OCI spec annotations Add support for OCI spec annotations (and legacy LABEL) Oct 12, 2020
pombredanne added a commit that referenced this issue May 12, 2021
Use virtualenv-embedded libraries
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

No branches or pull requests

1 participant