diff --git a/Dockerfile-alpine-otel.template b/Dockerfile-alpine-otel.template index b870b9544..ed02a0465 100644 --- a/Dockerfile-alpine-otel.template +++ b/Dockerfile-alpine-otel.template @@ -1,5 +1,7 @@ FROM nginx:%%NGINX_VERSION%%-alpine +LABEL org.opencontainers.image.source="https://github.com/nginx/nginx" + ENV OTEL_VERSION %%OTEL_VERSION%% RUN set -x \ diff --git a/Dockerfile-alpine-perl.template b/Dockerfile-alpine-perl.template index 6fc37deac..320082ec0 100644 --- a/Dockerfile-alpine-perl.template +++ b/Dockerfile-alpine-perl.template @@ -1,5 +1,7 @@ FROM nginx:%%NGINX_VERSION%%-alpine +LABEL org.opencontainers.image.source="https://github.com/nginx/nginx" + RUN set -x \ && apkArch="$(cat /etc/apk/arch)" \ && nginxPackages="%%PACKAGES%% diff --git a/Dockerfile-alpine-slim.template b/Dockerfile-alpine-slim.template index ff076f09c..a10208fd3 100644 --- a/Dockerfile-alpine-slim.template +++ b/Dockerfile-alpine-slim.template @@ -1,6 +1,7 @@ FROM alpine:%%ALPINE_VERSION%% LABEL maintainer="NGINX Docker Maintainers " +LABEL org.opencontainers.image.source="https://github.com/nginx/nginx" ENV NGINX_VERSION %%NGINX_VERSION%% ENV PKG_RELEASE %%PKG_RELEASE%% diff --git a/Dockerfile-alpine.template b/Dockerfile-alpine.template index bc77dfd61..24b5ad47d 100644 --- a/Dockerfile-alpine.template +++ b/Dockerfile-alpine.template @@ -1,5 +1,7 @@ FROM nginx:%%NGINX_VERSION%%-alpine-slim +LABEL org.opencontainers.image.source="https://github.com/nginx/nginx" + ENV NJS_VERSION %%NJS_VERSION%% ENV NJS_RELEASE %%NJS_RELEASE%% diff --git a/Dockerfile-debian-otel.template b/Dockerfile-debian-otel.template index 709836c17..c45319dd6 100644 --- a/Dockerfile-debian-otel.template +++ b/Dockerfile-debian-otel.template @@ -1,5 +1,7 @@ FROM nginx:%%NGINX_VERSION%% +LABEL org.opencontainers.image.source="https://github.com/nginx/nginx" + ENV OTEL_VERSION %%OTEL_VERSION%% RUN set -x; \ diff --git a/Dockerfile-debian-perl.template b/Dockerfile-debian-perl.template index 84cf99f6e..8e430719e 100644 --- a/Dockerfile-debian-perl.template +++ b/Dockerfile-debian-perl.template @@ -1,5 +1,7 @@ FROM nginx:%%NGINX_VERSION%% +LABEL org.opencontainers.image.source="https://github.com/nginx/nginx" + RUN set -x; \ NGINX_GPGKEY_PATH=/etc/apt/keyrings/nginx-archive-keyring.gpg; \ dpkgArch="$(dpkg --print-architecture)" \ diff --git a/Dockerfile-debian.template b/Dockerfile-debian.template index 57abba1ab..d964ab687 100644 --- a/Dockerfile-debian.template +++ b/Dockerfile-debian.template @@ -1,6 +1,7 @@ FROM debian:%%DEBIAN_VERSION%%-slim LABEL maintainer="NGINX Docker Maintainers " +LABEL org.opencontainers.image.source="https://github.com/nginx/nginx" ENV NGINX_VERSION %%NGINX_VERSION%% ENV NJS_VERSION %%NJS_VERSION%% diff --git a/mainline/alpine-otel/Dockerfile b/mainline/alpine-otel/Dockerfile index 52a5d70f3..a64300fbd 100644 --- a/mainline/alpine-otel/Dockerfile +++ b/mainline/alpine-otel/Dockerfile @@ -5,6 +5,8 @@ # FROM nginx:1.29.4-alpine +LABEL org.opencontainers.image.source="https://github.com/nginx/nginx" + ENV OTEL_VERSION 0.1.2 RUN set -x \ diff --git a/mainline/alpine-perl/Dockerfile b/mainline/alpine-perl/Dockerfile index 4f708e845..077c806ec 100644 --- a/mainline/alpine-perl/Dockerfile +++ b/mainline/alpine-perl/Dockerfile @@ -5,6 +5,8 @@ # FROM nginx:1.29.4-alpine +LABEL org.opencontainers.image.source="https://github.com/nginx/nginx" + RUN set -x \ && apkArch="$(cat /etc/apk/arch)" \ && nginxPackages=" \ diff --git a/mainline/alpine-slim/Dockerfile b/mainline/alpine-slim/Dockerfile index 2ae5d7e5c..02b8df9b9 100644 --- a/mainline/alpine-slim/Dockerfile +++ b/mainline/alpine-slim/Dockerfile @@ -6,6 +6,7 @@ FROM alpine:3.23 LABEL maintainer="NGINX Docker Maintainers " +LABEL org.opencontainers.image.source="https://github.com/nginx/nginx" ENV NGINX_VERSION 1.29.4 ENV PKG_RELEASE 1 diff --git a/mainline/alpine/Dockerfile b/mainline/alpine/Dockerfile index 3f4d280bc..242af56a6 100644 --- a/mainline/alpine/Dockerfile +++ b/mainline/alpine/Dockerfile @@ -5,6 +5,8 @@ # FROM nginx:1.29.4-alpine-slim +LABEL org.opencontainers.image.source="https://github.com/nginx/nginx" + ENV NJS_VERSION 0.9.4 ENV NJS_RELEASE 1 diff --git a/mainline/debian-otel/Dockerfile b/mainline/debian-otel/Dockerfile index 7db184555..377e63466 100644 --- a/mainline/debian-otel/Dockerfile +++ b/mainline/debian-otel/Dockerfile @@ -5,6 +5,8 @@ # FROM nginx:1.29.4 +LABEL org.opencontainers.image.source="https://github.com/nginx/nginx" + ENV OTEL_VERSION 0.1.2 RUN set -x; \ diff --git a/mainline/debian-perl/Dockerfile b/mainline/debian-perl/Dockerfile index f1187a144..8238cc349 100644 --- a/mainline/debian-perl/Dockerfile +++ b/mainline/debian-perl/Dockerfile @@ -5,6 +5,8 @@ # FROM nginx:1.29.4 +LABEL org.opencontainers.image.source="https://github.com/nginx/nginx" + RUN set -x; \ NGINX_GPGKEY_PATH=/etc/apt/keyrings/nginx-archive-keyring.gpg; \ dpkgArch="$(dpkg --print-architecture)" \ diff --git a/mainline/debian/Dockerfile b/mainline/debian/Dockerfile index 140b570b7..2b67fc9a4 100644 --- a/mainline/debian/Dockerfile +++ b/mainline/debian/Dockerfile @@ -6,6 +6,7 @@ FROM debian:trixie-slim LABEL maintainer="NGINX Docker Maintainers " +LABEL org.opencontainers.image.source="https://github.com/nginx/nginx" ENV NGINX_VERSION 1.29.4 ENV NJS_VERSION 0.9.4 diff --git a/modules/Dockerfile b/modules/Dockerfile index 2e77a0405..7452c368a 100644 --- a/modules/Dockerfile +++ b/modules/Dockerfile @@ -70,6 +70,7 @@ RUN apt-get update \ && echo "BUILT_MODULES=\"$BUILT_MODULES\"" > /tmp/packages/modules.env FROM ${NGINX_FROM_IMAGE} +LABEL org.opencontainers.image.source="https://github.com/nginx/nginx" RUN --mount=type=bind,target=/tmp/packages/,source=/tmp/packages/,from=builder \ apt-get update \ && . /tmp/packages/modules.env \ diff --git a/modules/Dockerfile.alpine b/modules/Dockerfile.alpine index 2cdb29366..2faf563bb 100644 --- a/modules/Dockerfile.alpine +++ b/modules/Dockerfile.alpine @@ -62,6 +62,7 @@ RUN apk update \ && echo "BUILT_MODULES=\"$BUILT_MODULES\"" > /tmp/packages/modules.env FROM ${NGINX_FROM_IMAGE} +LABEL org.opencontainers.image.source="https://github.com/nginx/nginx" RUN --mount=type=bind,target=/tmp/packages/,source=/tmp/packages/,from=builder \ . /tmp/packages/modules.env \ && for module in $BUILT_MODULES; do \ diff --git a/stable/alpine-otel/Dockerfile b/stable/alpine-otel/Dockerfile index 7ca1a94b4..8a9fb3e41 100644 --- a/stable/alpine-otel/Dockerfile +++ b/stable/alpine-otel/Dockerfile @@ -5,6 +5,8 @@ # FROM nginx:1.28.0-alpine +LABEL org.opencontainers.image.source="https://github.com/nginx/nginx" + ENV OTEL_VERSION 0.1.2 RUN set -x \ diff --git a/stable/alpine-perl/Dockerfile b/stable/alpine-perl/Dockerfile index 9676d8bc5..bd62d498f 100644 --- a/stable/alpine-perl/Dockerfile +++ b/stable/alpine-perl/Dockerfile @@ -5,6 +5,8 @@ # FROM nginx:1.28.0-alpine +LABEL org.opencontainers.image.source="https://github.com/nginx/nginx" + RUN set -x \ && apkArch="$(cat /etc/apk/arch)" \ && nginxPackages=" \ diff --git a/stable/alpine-slim/Dockerfile b/stable/alpine-slim/Dockerfile index 29bf5ba2a..c21371d91 100644 --- a/stable/alpine-slim/Dockerfile +++ b/stable/alpine-slim/Dockerfile @@ -6,6 +6,7 @@ FROM alpine:3.21 LABEL maintainer="NGINX Docker Maintainers " +LABEL org.opencontainers.image.source="https://github.com/nginx/nginx" ENV NGINX_VERSION 1.28.0 ENV PKG_RELEASE 1 diff --git a/stable/alpine/Dockerfile b/stable/alpine/Dockerfile index fb0c900a9..79c85a4a6 100644 --- a/stable/alpine/Dockerfile +++ b/stable/alpine/Dockerfile @@ -5,6 +5,8 @@ # FROM nginx:1.28.0-alpine-slim +LABEL org.opencontainers.image.source="https://github.com/nginx/nginx" + ENV NJS_VERSION 0.8.10 ENV NJS_RELEASE 1 diff --git a/stable/debian-otel/Dockerfile b/stable/debian-otel/Dockerfile index e4129a437..b166966c9 100644 --- a/stable/debian-otel/Dockerfile +++ b/stable/debian-otel/Dockerfile @@ -5,6 +5,8 @@ # FROM nginx:1.28.0 +LABEL org.opencontainers.image.source="https://github.com/nginx/nginx" + ENV OTEL_VERSION 0.1.2 RUN set -x; \ diff --git a/stable/debian-perl/Dockerfile b/stable/debian-perl/Dockerfile index bda0e1b84..e4d67d682 100644 --- a/stable/debian-perl/Dockerfile +++ b/stable/debian-perl/Dockerfile @@ -5,6 +5,8 @@ # FROM nginx:1.28.0 +LABEL org.opencontainers.image.source="https://github.com/nginx/nginx" + RUN set -x; \ NGINX_GPGKEY_PATH=/etc/apt/keyrings/nginx-archive-keyring.gpg; \ dpkgArch="$(dpkg --print-architecture)" \ diff --git a/stable/debian/Dockerfile b/stable/debian/Dockerfile index 99f34952d..cce23c4a0 100644 --- a/stable/debian/Dockerfile +++ b/stable/debian/Dockerfile @@ -6,6 +6,7 @@ FROM debian:bookworm-slim LABEL maintainer="NGINX Docker Maintainers " +LABEL org.opencontainers.image.source="https://github.com/nginx/nginx" ENV NGINX_VERSION 1.28.0 ENV NJS_VERSION 0.8.10