summaryrefslogtreecommitdiffhomepage
path: root/pkg/docker
diff options
context:
space:
mode:
authorKonstantin Pavlov <thresh@nginx.com>2023-08-22 14:55:10 -0700
committerKonstantin Pavlov <thresh@nginx.com>2023-08-22 14:55:10 -0700
commit3562c68ce7040b56da5533d8dd4458cb54b9eede (patch)
treeadd7e4bf839ae4e7029dd6b70a8fca3b2580f2b5 /pkg/docker
parent5ed7dd53c1630d106793f3a03f4afd92212f7f88 (diff)
downloadunit-3562c68ce7040b56da5533d8dd4458cb54b9eede.tar.gz
unit-3562c68ce7040b56da5533d8dd4458cb54b9eede.tar.bz2
Docker: added meaningful title to metadata.
Diffstat (limited to 'pkg/docker')
-rw-r--r--pkg/docker/Makefile1
-rw-r--r--pkg/docker/template.Dockerfile2
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"