From b7b0bbde654034abc545d610cf0be183f48f4027 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 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Philipp Müller --- 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 d63fb3a8..b6f8719a 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 a7352299..8dec0c8e 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 ae69769d..eccc0500 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 8e9316c9..f55e2de4 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 5344aed5..94e4e311 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 a69317bb..cecf53d3 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 b01d9611..66b7a894 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 a6197cc8..122b9b61 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 9ab2e055..e955e8b1 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 de69eef2..27c69720 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 8b66dd34..78d3f251 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; \ \