Skip to content

Commit 3562c68

Browse files
committed
Docker: added meaningful title to metadata.
1 parent 5ed7dd5 commit 3562c68

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

pkg/docker/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ Dockerfile.%: ../../version template.Dockerfile
124124
-e 's,@@INSTALL@@,$(INSTALL_$(call modname, $*)),g' \
125125
-e 's,@@RUN@@,$(RUN_$(call modname, $*)),g' \
126126
-e 's,@@MODULE_PREBUILD@@,$(MODULE_PREBUILD_$(call modname, $*)),g' \
127+
-e 's,@@MODULE@@,$*,g' \
127128
> $@
128129
129130
build-%: Dockerfile.%

pkg/docker/template.Dockerfile

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

3-
LABEL org.opencontainers.image.title="Unit"
3+
LABEL org.opencontainers.image.title="Unit (@@MODULE@@)"
44
LABEL org.opencontainers.image.description="Official build of Unit for Docker."
55
LABEL org.opencontainers.image.url="https://unit.nginx.org"
66
LABEL org.opencontainers.image.source="https://github.com/nginx/unit"

0 commit comments

Comments
 (0)