summaryrefslogtreecommitdiffhomepage
path: root/pkg
diff options
context:
space:
mode:
authorKonstantin Pavlov <thresh@nginx.com>2024-08-19 17:45:55 -0700
committerKonstantin Pavlov <pavlov.konstantin@gmail.com>2024-08-26 16:42:47 -0700
commit4778099b7e566d17584608638b36545a08494221 (patch)
tree78558f46dd36385388f8a704e5035a85410cd715 /pkg
parent8eb5d128a3a28f4363c22170fca6fce8c3b9b166 (diff)
downloadunit-4778099b7e566d17584608638b36545a08494221.tar.gz
unit-4778099b7e566d17584608638b36545a08494221.tar.bz2
Docker: leave artifacts when build targets succeed
Diffstat (limited to 'pkg')
-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