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