summaryrefslogtreecommitdiffhomepage
path: root/pkg
diff options
context:
space:
mode:
authorKonstantin Pavlov <thresh@nginx.com>2023-04-06 20:43:22 -0700
committerKonstantin Pavlov <thresh@nginx.com>2023-04-06 20:43:22 -0700
commit886aa17e791d2b75ac903389f0300edeaffda777 (patch)
treec87ec3a49ae9d2655e1e80fdfea9741494e019d1 /pkg
parent09cd3793aa7dc567384a58cd77aa5b65943722a7 (diff)
downloadunit-886aa17e791d2b75ac903389f0300edeaffda777.tar.gz
unit-886aa17e791d2b75ac903389f0300edeaffda777.tar.bz2
Docker: added OCI image-spec labels.
Diffstat (limited to 'pkg')
-rw-r--r--pkg/docker/template.Dockerfile8
1 files changed, 7 insertions, 1 deletions
diff --git a/pkg/docker/template.Dockerfile b/pkg/docker/template.Dockerfile
index 2973c0e1..3e71d7a3 100644
--- a/pkg/docker/template.Dockerfile
+++ b/pkg/docker/template.Dockerfile
@@ -1,6 +1,12 @@
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 \
&& savedAptMark="$(apt-mark showmanual)" \