feature: docker: add image source label to dockerfiles (#419)

To get changelogs shown with Renovate a docker container has to add the source label described in the OCI Image Format Specification.

For reference: https://github.com/renovatebot/renovate/blob/main/lib/modules/datasource/docker/readme.md
This commit is contained in:
Marc 2024-10-27 11:09:02 +01:00 committed by GitHub
parent 5562b47d84
commit 0446a74d28
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,5 +1,6 @@
FROM node:lts-bookworm
LABEL maintainer="Coderaiser"
LABEL org.opencontainers.image.source="https://github.com/coderaiser/cloudcmd"
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app