docs: set org.opencontainers.image.source label in Dockerfile (#3564)
As documented in the OCI Image Format, org.opencontainers.image.source[1] identifies an image's source repository. This is purely for documentation purposes. It does however help tools such as Renovate[2] to find the changelogs when a new Navidrome version is released. The changelogs would then be included in the PR Renovate creates. [1]: https://github.com/opencontainers/image-spec/blob/5325ec48851022d6ded604199a3566254e72842a/annotations.md#L24 [2]: https://docs.renovatebot.com/modules/datasource/docker/#description Signed-off-by: Dany Marcoux <git@dmarcoux.com>
This commit is contained in:
@@ -121,6 +121,7 @@ COPY --from=build /out /
|
||||
### Build Final Image
|
||||
FROM public.ecr.aws/docker/library/alpine:3.21 AS final
|
||||
LABEL maintainer="deluan@navidrome.org"
|
||||
LABEL org.opencontainers.image.source="https://github.com/navidrome/navidrome"
|
||||
|
||||
# Install ffmpeg and mpv
|
||||
RUN apk add -U --no-cache ffmpeg mpv
|
||||
|
||||
Reference in New Issue
Block a user