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
This commit is contained in:
Michael Frister 2019-11-12 11:40:37 +01:00
parent d1eea794e9
commit be5349c05a

View file

@ -14,6 +14,8 @@
FROM BASEIMAGE FROM BASEIMAGE
LABEL org.opencontainers.image.source="https://github.com/kubernetes/ingress-nginx"
CROSS_BUILD_COPY qemu-QEMUARCH-static /usr/bin/ CROSS_BUILD_COPY qemu-QEMUARCH-static /usr/bin/
WORKDIR /etc/nginx WORKDIR /etc/nginx