Add missing revision labels for arm builds

This commit is contained in:
Kristian Haugene 2020-11-08 18:15:30 +01:00
parent 81e21c7de5
commit 12a0c9f2b1

View File

@ -61,6 +61,13 @@ ENV OPENVPN_USERNAME=**None** \
HEALTHCHECK --interval=1m CMD /etc/scripts/healthcheck.sh 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/ # Compatability with https://hub.docker.com/r/willfarrell/autoheal/
LABEL autoheal=true LABEL autoheal=true