diff options
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" |