Add org.opencontainers.image.base.source as a Pre-Defined Annotation Key.
Why
Many projects don't maintain their own Dockerfiles and respective packages. Thats why packaging groups like linuxserver.io1 exist. These groups maintain a Dockerfile for that project and publish them. They set org.opencontainers.image.source to their own repo, which is correct as they host the code to "build the image"2.
Tools like Renovate3 use the org.opencontainers.image.source labe to fetch metadata and changelogs 4. The problems lies with fetching the changelogs from there. Most often packaging groups follow the upstream release cycle as close as possible and therefore don't have their own changelog
Adding org.opencontainers.image.base.source as a pre-defined annotation key would clearly separate the image build source from the upstream project source. This allows packaging groups to correctly reference their Dockerfile repositories while still pointing tools like Renovate to the true upstream project for metadata and changelogs.
Add
org.opencontainers.image.base.sourceas a Pre-Defined Annotation Key.Why
Many projects don't maintain their own Dockerfiles and respective packages. Thats why packaging groups like linuxserver.io1 exist. These groups maintain a Dockerfile for that project and publish them. They set
org.opencontainers.image.sourceto their own repo, which is correct as they host the code to "build the image"2.Tools like Renovate3 use the
org.opencontainers.image.sourcelabe to fetch metadata and changelogs 4. The problems lies with fetching the changelogs from there. Most often packaging groups follow the upstream release cycle as close as possible and therefore don't have their own changelogAdding
org.opencontainers.image.base.sourceas a pre-defined annotation key would clearly separate the image build source from the upstream project source. This allows packaging groups to correctly reference their Dockerfile repositories while still pointing tools like Renovate to the true upstream project for metadata and changelogs.Footnotes
https://www.linuxserver.io/ ↩
https://github.com/opencontainers/image-spec/blob/main/annotations.md#pre-defined-annotation-keys ↩
https://www.mend.io/renovate/ ↩
https://docs.renovatebot.com/modules/datasource/docker/#description ↩