From 286cd8d31d113b5b4c20ca8d44f187a780b923fa Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Tue, 7 Apr 2020 20:01:29 +0200 Subject: [PATCH] Switch to Open Container Specification labels as label-schema.org ones are deprecated --- Dockerfile | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3be72c4..b351481 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,15 +5,15 @@ ARG VCS_REF ARG VERSION LABEL maintainer="CrazyMax" \ - org.label-schema.build-date=$BUILD_DATE \ - org.label-schema.name="librenms" \ - org.label-schema.description="LibreNMS" \ - org.label-schema.version=$VERSION \ - org.label-schema.url="https://github.com/librenms/docker" \ - org.label-schema.vcs-ref=$VCS_REF \ - org.label-schema.vcs-url="https://github.com/librenms/docker" \ - org.label-schema.vendor="LibreNMS" \ - org.label-schema.schema-version="1.0" + org.opencontainers.image.created=$BUILD_DATE \ + org.opencontainers.image.url="https://github.com/librenms/docker" \ + org.opencontainers.image.source="https://github.com/librenms/docker" \ + org.opencontainers.image.version=$VERSION \ + org.opencontainers.image.revision=$VCS_REF \ + org.opencontainers.image.vendor="CrazyMax" \ + org.opencontainers.image.title="LibreNMS" \ + org.opencontainers.image.description="LibreNMS" \ + org.opencontainers.image.licenses="MIT" RUN apk --update --no-cache add \ busybox-extras \