From 3562c68ce7040b56da5533d8dd4458cb54b9eede Mon Sep 17 00:00:00 2001 From: Konstantin Pavlov Date: Tue, 22 Aug 2023 14:55:10 -0700 Subject: Docker: added meaningful title to metadata. --- pkg/docker/Makefile | 1 + pkg/docker/template.Dockerfile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'pkg/docker') 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" -- cgit