From 46401cab1faa730dbc65d82a53f0be52d2899e3f Mon Sep 17 00:00:00 2001 From: Michael Frister Date: Tue, 12 Nov 2019 11:40:37 +0100 Subject: [PATCH] Docker image: Add source code reference label This allows tools that automate component updates (in our case Renovate Bot [1]) to automatically find the source repository for the Docker image and extract release notes from there. Renovate Bot can include the relevant release notes automatically in a merge request changing the component version. In [2], Renovate added the label for their own Docker image. [1] https://github.com/renovatebot/renovate [2] https://github.com/renovatebot/renovate/pull/3753 --- rootfs/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rootfs/Dockerfile b/rootfs/Dockerfile index 5b00513a6..bd9498edf 100644 --- a/rootfs/Dockerfile +++ b/rootfs/Dockerfile @@ -14,6 +14,8 @@ FROM BASEIMAGE +LABEL org.opencontainers.image.source="https://github.com/kubernetes/ingress-nginx" + CROSS_BUILD_COPY qemu-QEMUARCH-static /usr/bin/ WORKDIR /etc/nginx