diff options
author | Konstantin Pavlov <thresh@nginx.com> | 2023-08-22 14:55:10 -0700 |
---|---|---|
committer | Konstantin Pavlov <thresh@nginx.com> | 2023-08-22 14:55:10 -0700 |
commit | 3562c68ce7040b56da5533d8dd4458cb54b9eede (patch) | |
tree | add7e4bf839ae4e7029dd6b70a8fca3b2580f2b5 /pkg | |
parent | 5ed7dd53c1630d106793f3a03f4afd92212f7f88 (diff) | |
download | unit-3562c68ce7040b56da5533d8dd4458cb54b9eede.tar.gz unit-3562c68ce7040b56da5533d8dd4458cb54b9eede.tar.bz2 |
Docker: added meaningful title to metadata.
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/docker/Makefile | 1 | ||||
-rw-r--r-- | pkg/docker/template.Dockerfile | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/pkg/docker/Makefile b/pkg/docker/Makefile index 3373f8b2..6ec3f58b 100644 --- a/pkg/docker/Makefile +++ b/pkg/docker/Makefile @@ -124,6 +124,7 @@ Dockerfile.%: ../../version template.Dockerfile -e 's,@@INSTALL@@,$(INSTALL_$(call modname, $*)),g' \ -e 's,@@RUN@@,$(RUN_$(call modname, $*)),g' \ -e 's,@@MODULE_PREBUILD@@,$(MODULE_PREBUILD_$(call modname, $*)),g' \ + -e 's,@@MODULE@@,$*,g' \ > $@ build-%: Dockerfile.% diff --git a/pkg/docker/template.Dockerfile b/pkg/docker/template.Dockerfile index 28db58bc..f3dfc8ee 100644 --- a/pkg/docker/template.Dockerfile +++ b/pkg/docker/template.Dockerfile @@ -1,6 +1,6 @@ FROM @@CONTAINER@@ -LABEL org.opencontainers.image.title="Unit" +LABEL org.opencontainers.image.title="Unit (@@MODULE@@)" 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" |