Skip to content

Commit d56ff07

Browse files
committed
Docker: added OCI image-spec labels.
1 parent a02b12d commit d56ff07

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

pkg/docker/template.Dockerfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
FROM @@CONTAINER@@
22

3-
LABEL maintainer="NGINX Docker Maintainers <[email protected]>"
3+
LABEL org.opencontainers.image.title="Unit"
4+
LABEL org.opencontainers.image.description="Official build of Unit for Docker."
5+
LABEL org.opencontainers.image.url="https://unit.nginx.org"
6+
LABEL org.opencontainers.image.source="https://github.com/nginx/unit"
7+
LABEL org.opencontainers.image.documentation="https://unit.nginx.org/installation/#docker-images"
8+
LABEL org.opencontainers.image.vendor="NGINX Docker Maintainers <[email protected]>"
9+
LABEL org.opencontainers.image.version="%%VERSION%%"
410

511
RUN set -ex \
612
&& savedAptMark="$(apt-mark showmanual)" \

0 commit comments

Comments
 (0)