From 4778099b7e566d17584608638b36545a08494221 Mon Sep 17 00:00:00 2001 From: Konstantin Pavlov Date: Mon, 19 Aug 2024 17:45:55 -0700 Subject: Docker: leave artifacts when build targets succeed --- pkg/docker/Makefile | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit