From fcaaf330cebf6444299e6c648fd0c339eaa018f2 Mon Sep 17 00:00:00 2001 From: Marc Date: Tue, 8 Oct 2024 12:03:28 +0200 Subject: [PATCH] Add image source label to dockerfiles 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 --- deploy/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/deploy/Dockerfile b/deploy/Dockerfile index 1108f4ab22..6cbae05f60 100644 --- a/deploy/Dockerfile +++ b/deploy/Dockerfile @@ -51,6 +51,7 @@ RUN export GO_TAGS="libpfm,netgo"; \ GO_FLAGS="-tags=$GO_TAGS" ./build/build.sh FROM mirror.gcr.io/library/alpine:3.18 +LABEL org.opencontainers.image.source="https://github.com/google/cadvisor" MAINTAINER dengnan@google.com vmarmol@google.com vishnuk@google.com jimmidyson@gmail.com stclair@google.com RUN apk --no-cache add libc6-compat device-mapper findutils ndctl zfs && \