From 8c11184ba1dd3dbcc3e3fe2c4c506409b7b6cc9b Mon Sep 17 00:00:00 2001 From: Wonderfall Date: Tue, 8 Mar 2022 18:23:38 +0100 Subject: [PATCH] follow OCI spec for labels --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 08eb206..e7ebf7b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -159,8 +159,9 @@ VOLUME /data /nextcloud/config /nextcloud/apps2 /nextcloud/themes EXPOSE 8888 -LABEL description="A server software for creating file hosting services" \ - nextcloud="Nextcloud v${NEXTCLOUD_VERSION}" \ - maintainer="Hoellen " +LABEL org.opencontainers.image.description="All-in-one Nextcloud image, based on Alpine Linux" \ + org.opencontainers.image.version="${NEXTCLOUD_VERSION}" \ + org.opencontainers.image.authors="Hoellen " \ + org.opencontainers.image.source="https://github.com/hoellen/docker-nextcloud" CMD ["run.sh"]