Docker: added OCI image-spec labels.

This commit is contained in:
Konstantin Pavlov
2023-04-06 20:43:22 -07:00
parent 09cd3793aa
commit 886aa17e79

View File

@@ -1,6 +1,12 @@
FROM @@CONTAINER@@ FROM @@CONTAINER@@
LABEL maintainer="NGINX Docker Maintainers <docker-maint@nginx.com>" LABEL org.opencontainers.image.title="Unit"
LABEL org.opencontainers.image.description="Official build of Unit for Docker."
LABEL org.opencontainers.image.url="https://unit.nginx.org"
LABEL org.opencontainers.image.source="https://github.com/nginx/unit"
LABEL org.opencontainers.image.documentation="https://unit.nginx.org/installation/#docker-images"
LABEL org.opencontainers.image.vendor="NGINX Docker Maintainers <docker-maint@nginx.com>"
LABEL org.opencontainers.image.version="%%VERSION%%"
RUN set -ex \ RUN set -ex \
&& savedAptMark="$(apt-mark showmanual)" \ && savedAptMark="$(apt-mark showmanual)" \