diff --git a/Dockerfile-alpine.template b/Dockerfile-alpine.template index 5fe764bb3..327f4919d 100644 --- a/Dockerfile-alpine.template +++ b/Dockerfile-alpine.template @@ -153,5 +153,14 @@ RUN set -ex; \ COPY *.sh upgrade.exclude / COPY config/* /usr/src/nextcloud/config/ +LABEL org.opencontainers.image.title="Nextcloud" \ + org.opencontainers.image.description="A safe home for all your data. Access & share your files, calendars, contacts, mail & more from any device, on your terms." \ + org.opencontainers.image.url="https://nextcloud.com" \ + org.opencontainers.image.source="https://github.com/nextcloud/docker" \ + org.opencontainers.image.documentation="https://hub.docker.com/_/nextcloud" \ + org.opencontainers.image.vendor="Nextcloud GmbH" \ + org.opencontainers.image.licenses="AGPL-3.0-or-later" \ + org.opencontainers.image.version="%%VERSION%%" + ENTRYPOINT ["/entrypoint.sh"] CMD ["%%CMD%%"] diff --git a/Dockerfile-debian.template b/Dockerfile-debian.template index 72e4d08ce..ee38eb56d 100644 --- a/Dockerfile-debian.template +++ b/Dockerfile-debian.template @@ -164,5 +164,14 @@ RUN set -ex; \ COPY *.sh upgrade.exclude / COPY config/* /usr/src/nextcloud/config/ +LABEL org.opencontainers.image.title="Nextcloud" \ + org.opencontainers.image.description="A safe home for all your data. Access & share your files, calendars, contacts, mail & more from any device, on your terms." \ + org.opencontainers.image.url="https://nextcloud.com" \ + org.opencontainers.image.source="https://github.com/nextcloud/docker" \ + org.opencontainers.image.documentation="https://hub.docker.com/_/nextcloud" \ + org.opencontainers.image.vendor="Nextcloud GmbH" \ + org.opencontainers.image.licenses="AGPL-3.0-or-later" \ + org.opencontainers.image.version="%%VERSION%%" + ENTRYPOINT ["/entrypoint.sh"] CMD ["%%CMD%%"]