From 68f2fa1891eebb630faa8f47b0fcea804727c96e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20M=C3=BCller?= Date: Thu, 24 Oct 2024 19:34:01 +0200 Subject: [PATCH] Added opencontainer labels to images --- 28/apache/Dockerfile | 12 ++++++++++++ 28/fpm-alpine/Dockerfile | 12 ++++++++++++ 28/fpm/Dockerfile | 12 ++++++++++++ 29/apache/Dockerfile | 12 ++++++++++++ 29/fpm-alpine/Dockerfile | 12 ++++++++++++ 29/fpm/Dockerfile | 12 ++++++++++++ 30/apache/Dockerfile | 12 ++++++++++++ 30/fpm-alpine/Dockerfile | 12 ++++++++++++ 30/fpm/Dockerfile | 12 ++++++++++++ Dockerfile-alpine.template | 12 ++++++++++++ Dockerfile-debian.template | 12 ++++++++++++ 11 files changed, 132 insertions(+) diff --git a/28/apache/Dockerfile b/28/apache/Dockerfile index d63fb3a81..b6f8719a8 100644 --- a/28/apache/Dockerfile +++ b/28/apache/Dockerfile @@ -1,6 +1,18 @@ # DO NOT EDIT: created by update.sh from Dockerfile-debian.template FROM php:8.2-apache-bookworm +# OCI annotations +LABEL org.opencontainers.image.authors="Nextcloud Community" \ + org.opencontainers.image.title="Nextcloud" \ + org.opencontainers.image.description="Nextcloud is a self-hosted platform for file sharing and collaboration" \ + org.opencontainers.image.documentation="https://hub.docker.com/_/nextcloud" \ + org.opencontainers.image.base.name="docker.io/library/php:8.2-apache-bookworm" \ + org.opencontainers.image.licenses="AGPL-3.0" \ + org.opencontainers.image.source="https://hub.docker.com/_/nextcloud" \ + org.opencontainers.image.vendor="Nextcloud Community" \ + org.opencontainers.image.version="28.0.11" \ + org.opencontainers.image.url="https://github.com/nextcloud/docker" + # entrypoint.sh and cron.sh dependencies RUN set -ex; \ \ diff --git a/28/fpm-alpine/Dockerfile b/28/fpm-alpine/Dockerfile index a7352299c..8dec0c8ec 100644 --- a/28/fpm-alpine/Dockerfile +++ b/28/fpm-alpine/Dockerfile @@ -1,6 +1,18 @@ # DO NOT EDIT: created by update.sh from Dockerfile-alpine.template FROM php:8.2-fpm-alpine3.20 +# OCI annotations +LABEL org.opencontainers.image.authors="Nextcloud Community" \ + org.opencontainers.image.title="Nextcloud" \ + org.opencontainers.image.description="Nextcloud is a self-hosted platform for file sharing and collaboration" \ + org.opencontainers.image.documentation="https://hub.docker.com/_/nextcloud" \ + org.opencontainers.image.base.name="docker.io/library/php:8.2-fpm-alpine3.20" \ + org.opencontainers.image.licenses="AGPL-3.0" \ + org.opencontainers.image.source="https://hub.docker.com/_/nextcloud" \ + org.opencontainers.image.vendor="Nextcloud Community" \ + org.opencontainers.image.version="28.0.11" \ + org.opencontainers.image.url="https://github.com/nextcloud/docker" + # entrypoint.sh and cron.sh dependencies RUN set -ex; \ \ diff --git a/28/fpm/Dockerfile b/28/fpm/Dockerfile index ae69769dc..eccc05009 100644 --- a/28/fpm/Dockerfile +++ b/28/fpm/Dockerfile @@ -1,6 +1,18 @@ # DO NOT EDIT: created by update.sh from Dockerfile-debian.template FROM php:8.2-fpm-bookworm +# OCI annotations +LABEL org.opencontainers.image.authors="Nextcloud Community" \ + org.opencontainers.image.title="Nextcloud" \ + org.opencontainers.image.description="Nextcloud is a self-hosted platform for file sharing and collaboration" \ + org.opencontainers.image.documentation="https://hub.docker.com/_/nextcloud" \ + org.opencontainers.image.base.name="docker.io/library/php:8.2-fpm-bookworm" \ + org.opencontainers.image.licenses="AGPL-3.0" \ + org.opencontainers.image.source="https://hub.docker.com/_/nextcloud" \ + org.opencontainers.image.vendor="Nextcloud Community" \ + org.opencontainers.image.version="28.0.11" \ + org.opencontainers.image.url="https://github.com/nextcloud/docker" + # entrypoint.sh and cron.sh dependencies RUN set -ex; \ \ diff --git a/29/apache/Dockerfile b/29/apache/Dockerfile index 8e9316c9d..f55e2de48 100644 --- a/29/apache/Dockerfile +++ b/29/apache/Dockerfile @@ -1,6 +1,18 @@ # DO NOT EDIT: created by update.sh from Dockerfile-debian.template FROM php:8.2-apache-bookworm +# OCI annotations +LABEL org.opencontainers.image.authors="Nextcloud Community" \ + org.opencontainers.image.title="Nextcloud" \ + org.opencontainers.image.description="Nextcloud is a self-hosted platform for file sharing and collaboration" \ + org.opencontainers.image.documentation="https://hub.docker.com/_/nextcloud" \ + org.opencontainers.image.base.name="docker.io/library/php:8.2-apache-bookworm" \ + org.opencontainers.image.licenses="AGPL-3.0" \ + org.opencontainers.image.source="https://hub.docker.com/_/nextcloud" \ + org.opencontainers.image.vendor="Nextcloud Community" \ + org.opencontainers.image.version="29.0.8" \ + org.opencontainers.image.url="https://github.com/nextcloud/docker" + # entrypoint.sh and cron.sh dependencies RUN set -ex; \ \ diff --git a/29/fpm-alpine/Dockerfile b/29/fpm-alpine/Dockerfile index 5344aed56..94e4e311e 100644 --- a/29/fpm-alpine/Dockerfile +++ b/29/fpm-alpine/Dockerfile @@ -1,6 +1,18 @@ # DO NOT EDIT: created by update.sh from Dockerfile-alpine.template FROM php:8.2-fpm-alpine3.20 +# OCI annotations +LABEL org.opencontainers.image.authors="Nextcloud Community" \ + org.opencontainers.image.title="Nextcloud" \ + org.opencontainers.image.description="Nextcloud is a self-hosted platform for file sharing and collaboration" \ + org.opencontainers.image.documentation="https://hub.docker.com/_/nextcloud" \ + org.opencontainers.image.base.name="docker.io/library/php:8.2-fpm-alpine3.20" \ + org.opencontainers.image.licenses="AGPL-3.0" \ + org.opencontainers.image.source="https://hub.docker.com/_/nextcloud" \ + org.opencontainers.image.vendor="Nextcloud Community" \ + org.opencontainers.image.version="29.0.8" \ + org.opencontainers.image.url="https://github.com/nextcloud/docker" + # entrypoint.sh and cron.sh dependencies RUN set -ex; \ \ diff --git a/29/fpm/Dockerfile b/29/fpm/Dockerfile index a69317bb6..cecf53d30 100644 --- a/29/fpm/Dockerfile +++ b/29/fpm/Dockerfile @@ -1,6 +1,18 @@ # DO NOT EDIT: created by update.sh from Dockerfile-debian.template FROM php:8.2-fpm-bookworm +# OCI annotations +LABEL org.opencontainers.image.authors="Nextcloud Community" \ + org.opencontainers.image.title="Nextcloud" \ + org.opencontainers.image.description="Nextcloud is a self-hosted platform for file sharing and collaboration" \ + org.opencontainers.image.documentation="https://hub.docker.com/_/nextcloud" \ + org.opencontainers.image.base.name="docker.io/library/php:8.2-fpm-bookworm" \ + org.opencontainers.image.licenses="AGPL-3.0" \ + org.opencontainers.image.source="https://hub.docker.com/_/nextcloud" \ + org.opencontainers.image.vendor="Nextcloud Community" \ + org.opencontainers.image.version="29.0.8" \ + org.opencontainers.image.url="https://github.com/nextcloud/docker" + # entrypoint.sh and cron.sh dependencies RUN set -ex; \ \ diff --git a/30/apache/Dockerfile b/30/apache/Dockerfile index b01d96112..66b7a894f 100644 --- a/30/apache/Dockerfile +++ b/30/apache/Dockerfile @@ -1,6 +1,18 @@ # DO NOT EDIT: created by update.sh from Dockerfile-debian.template FROM php:8.2-apache-bookworm +# OCI annotations +LABEL org.opencontainers.image.authors="Nextcloud Community" \ + org.opencontainers.image.title="Nextcloud" \ + org.opencontainers.image.description="Nextcloud is a self-hosted platform for file sharing and collaboration" \ + org.opencontainers.image.documentation="https://hub.docker.com/_/nextcloud" \ + org.opencontainers.image.base.name="docker.io/library/php:8.2-apache-bookworm" \ + org.opencontainers.image.licenses="AGPL-3.0" \ + org.opencontainers.image.source="https://hub.docker.com/_/nextcloud" \ + org.opencontainers.image.vendor="Nextcloud Community" \ + org.opencontainers.image.version="30.0.1" \ + org.opencontainers.image.url="https://github.com/nextcloud/docker" + # entrypoint.sh and cron.sh dependencies RUN set -ex; \ \ diff --git a/30/fpm-alpine/Dockerfile b/30/fpm-alpine/Dockerfile index a6197cc8a..122b9b614 100644 --- a/30/fpm-alpine/Dockerfile +++ b/30/fpm-alpine/Dockerfile @@ -1,6 +1,18 @@ # DO NOT EDIT: created by update.sh from Dockerfile-alpine.template FROM php:8.2-fpm-alpine3.20 +# OCI annotations +LABEL org.opencontainers.image.authors="Nextcloud Community" \ + org.opencontainers.image.title="Nextcloud" \ + org.opencontainers.image.description="Nextcloud is a self-hosted platform for file sharing and collaboration" \ + org.opencontainers.image.documentation="https://hub.docker.com/_/nextcloud" \ + org.opencontainers.image.base.name="docker.io/library/php:8.2-fpm-alpine3.20" \ + org.opencontainers.image.licenses="AGPL-3.0" \ + org.opencontainers.image.source="https://hub.docker.com/_/nextcloud" \ + org.opencontainers.image.vendor="Nextcloud Community" \ + org.opencontainers.image.version="30.0.1" \ + org.opencontainers.image.url="https://github.com/nextcloud/docker" + # entrypoint.sh and cron.sh dependencies RUN set -ex; \ \ diff --git a/30/fpm/Dockerfile b/30/fpm/Dockerfile index 9ab2e0558..e955e8b11 100644 --- a/30/fpm/Dockerfile +++ b/30/fpm/Dockerfile @@ -1,6 +1,18 @@ # DO NOT EDIT: created by update.sh from Dockerfile-debian.template FROM php:8.2-fpm-bookworm +# OCI annotations +LABEL org.opencontainers.image.authors="Nextcloud Community" \ + org.opencontainers.image.title="Nextcloud" \ + org.opencontainers.image.description="Nextcloud is a self-hosted platform for file sharing and collaboration" \ + org.opencontainers.image.documentation="https://hub.docker.com/_/nextcloud" \ + org.opencontainers.image.base.name="docker.io/library/php:8.2-fpm-bookworm" \ + org.opencontainers.image.licenses="AGPL-3.0" \ + org.opencontainers.image.source="https://hub.docker.com/_/nextcloud" \ + org.opencontainers.image.vendor="Nextcloud Community" \ + org.opencontainers.image.version="30.0.1" \ + org.opencontainers.image.url="https://github.com/nextcloud/docker" + # entrypoint.sh and cron.sh dependencies RUN set -ex; \ \ diff --git a/Dockerfile-alpine.template b/Dockerfile-alpine.template index de69eef26..27c697200 100644 --- a/Dockerfile-alpine.template +++ b/Dockerfile-alpine.template @@ -1,5 +1,17 @@ FROM php:%%PHP_VERSION%%-%%VARIANT%%%%ALPINE_VERSION%% +# OCI annotations +LABEL org.opencontainers.image.authors="Nextcloud Community" \ + org.opencontainers.image.title="Nextcloud" \ + org.opencontainers.image.description="Nextcloud is a self-hosted platform for file sharing and collaboration" \ + org.opencontainers.image.documentation="https://hub.docker.com/_/nextcloud" \ + org.opencontainers.image.base.name="docker.io/library/php:%%PHP_VERSION%%-%%VARIANT%%%%ALPINE_VERSION%%" \ + org.opencontainers.image.licenses="AGPL-3.0" \ + org.opencontainers.image.source="https://hub.docker.com/_/nextcloud" \ + org.opencontainers.image.vendor="Nextcloud Community" \ + org.opencontainers.image.version="%%VERSION%%" \ + org.opencontainers.image.url="https://github.com/nextcloud/docker" + # entrypoint.sh and cron.sh dependencies RUN set -ex; \ \ diff --git a/Dockerfile-debian.template b/Dockerfile-debian.template index 8b66dd34a..78d3f251e 100644 --- a/Dockerfile-debian.template +++ b/Dockerfile-debian.template @@ -1,5 +1,17 @@ FROM php:%%PHP_VERSION%%-%%VARIANT%%-%%DEBIAN_VERSION%% +# OCI annotations +LABEL org.opencontainers.image.authors="Nextcloud Community" \ + org.opencontainers.image.title="Nextcloud" \ + org.opencontainers.image.description="Nextcloud is a self-hosted platform for file sharing and collaboration" \ + org.opencontainers.image.documentation="https://hub.docker.com/_/nextcloud" \ + org.opencontainers.image.base.name="docker.io/library/php:%%PHP_VERSION%%-%%VARIANT%%-%%DEBIAN_VERSION%%" \ + org.opencontainers.image.licenses="AGPL-3.0" \ + org.opencontainers.image.source="https://hub.docker.com/_/nextcloud" \ + org.opencontainers.image.vendor="Nextcloud Community" \ + org.opencontainers.image.version="%%VERSION%%" \ + org.opencontainers.image.url="https://github.com/nextcloud/docker" + # entrypoint.sh and cron.sh dependencies RUN set -ex; \ \