follow OCI spec for labels

This commit is contained in:
Wonderfall 2022-03-08 18:23:38 +01:00 committed by hoellen
parent 2c662e7862
commit 8c11184ba1

View File

@ -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 <dev@hoellen.eu>"
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 <dev@hoellen.eu>" \
org.opencontainers.image.source="https://github.com/hoellen/docker-nextcloud"
CMD ["run.sh"]