Docker: added meaningful title to metadata.
This commit is contained in:
parent
5ed7dd53c1
commit
3562c68ce7
2 changed files with 2 additions and 1 deletions
|
@ -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.%
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue