From b21d716cbb223442b574907bd55a38e955a030d1 Mon Sep 17 00:00:00 2001 From: Mathieu Deous Date: Thu, 5 Jan 2023 22:42:39 +0100 Subject: Fix docker build (#124) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 8cdf2fd..d5b9661 100644 --- a/Makefile +++ b/Makefile @@ -34,7 +34,7 @@ tests: php-malware-finder ## Run test suite docker: ## Build docker image docker pull $(IMAGE_NAME):latest || true - docker build --pull -t $(IMAGE_NAME):latest . + docker build --pull --cache-from=$(IMAGE_NAME):latest -t $(IMAGE_NAME):latest . docker tag $(IMAGE_NAME):latest $(IMAGE_NAME):$(IMAGE_VERSION) docker-tests: ## Run docker image against the samples folder -- cgit v1.3