From 12a0c9f2b19f6548f0aaa9fb70b746cd6da0c8ff Mon Sep 17 00:00:00 2001 From: Kristian Haugene Date: Sun, 8 Nov 2020 18:15:30 +0100 Subject: [PATCH] Add missing revision labels for arm builds --- Dockerfile.armhf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Dockerfile.armhf b/Dockerfile.armhf index 5349576b2..a92869ab3 100644 --- a/Dockerfile.armhf +++ b/Dockerfile.armhf @@ -61,6 +61,13 @@ ENV OPENVPN_USERNAME=**None** \ HEALTHCHECK --interval=1m CMD /etc/scripts/healthcheck.sh +# Add labels to identify this image and version +ARG REVISION +# Set env from build argument or default to empty string +ENV REVISION=${REVISION:-""} +LABEL org.opencontainers.image.source=https://github.com/haugene/docker-transmission-openvpn +LABEL org.opencontainers.image.revision=$REVISION + # Compatability with https://hub.docker.com/r/willfarrell/autoheal/ LABEL autoheal=true