diff options
author | Konstantin Pavlov <thresh@nginx.com> | 2023-04-10 15:36:48 -0700 |
---|---|---|
committer | Konstantin Pavlov <thresh@nginx.com> | 2023-04-10 15:36:48 -0700 |
commit | 21e49692a09c5680a0815c462a0688940e8c5766 (patch) | |
tree | d1e9d380e871ce5982cc811a79a401908c3a6b6c /pkg/docker/Makefile | |
parent | e3ff58fd1fb54b90a9ffcb4ad8399f1592fc1199 (diff) | |
download | unit-21e49692a09c5680a0815c462a0688940e8c5766.tar.gz unit-21e49692a09c5680a0815c462a0688940e8c5766.tar.bz2 |
Docker: check out packaging tags.
This will ensure we're checking out source code that is close to what we
have in binary packages.
While at it, remove the checkout directory when it's no longer needed.
Diffstat (limited to 'pkg/docker/Makefile')
-rw-r--r-- | pkg/docker/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/docker/Makefile b/pkg/docker/Makefile index b8401e5f..fe432047 100644 --- a/pkg/docker/Makefile +++ b/pkg/docker/Makefile @@ -6,6 +6,7 @@ include ../shasum.mak DEFAULT_VERSION := $(NXT_VERSION) VERSION ?= $(DEFAULT_VERSION) +PATCHLEVEL ?= 1 EXPORT_DIR := $(VERSION) @@ -73,6 +74,7 @@ Dockerfile.%: ../../version template.Dockerfile @echo "===> Building $@" cat template.Dockerfile | sed \ -e 's,@@VERSION@@,$(VERSION),g' \ + -e 's,@@PATCHLEVEL@@,$(PATCHLEVEL),g' \ -e 's,@@CONTAINER@@,$(CONTAINER_$(call modname, $*)),g' \ -e 's,@@CONFIGURE@@,$(CONFIGURE_$(call modname, $*)),g' \ -e 's,@@INSTALL@@,$(INSTALL_$(call modname, $*)),g' \ |