summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--pkg/docker/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/docker/Makefile b/pkg/docker/Makefile
index 6657c24c..9dbca2d2 100644
--- a/pkg/docker/Makefile
+++ b/pkg/docker/Makefile
@@ -136,6 +136,7 @@ Dockerfile.%: ../../version template.Dockerfile
build-%: Dockerfile.%
docker pull $(CONTAINER_$*)
docker build --no-cache -t unit:$(VERSION)-$* -f Dockerfile.$* .
+ touch $@
library:
@echo "# this file is generated via https://github.com/nginx/unit/blob/$(shell git describe --always --abbrev=0 HEAD)/pkg/docker/Makefile"
@@ -178,5 +179,6 @@ all: $(addprefix Dockerfile., $(MODVERSIONS))
clean:
rm -f Dockerfile.*
+ rm -f build-*
.PHONY: default build dockerfiles clean library