summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMathieu Deous2023-01-05 22:42:39 +0100
committerGitHub2023-01-05 22:42:39 +0100
commitb21d716cbb223442b574907bd55a38e955a030d1 (patch)
treec36168850449262f3e45293bdfddc1b08de26799 /Makefile
parent55b85b9cac07a1c95195e00d038e893112f9c879 (diff)
Fix docker build (#124)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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
34 34
35docker: ## Build docker image 35docker: ## Build docker image
36 docker pull $(IMAGE_NAME):latest || true 36 docker pull $(IMAGE_NAME):latest || true
37 docker build --pull -t $(IMAGE_NAME):latest . 37 docker build --pull --cache-from=$(IMAGE_NAME):latest -t $(IMAGE_NAME):latest .
38 docker tag $(IMAGE_NAME):latest $(IMAGE_NAME):$(IMAGE_VERSION) 38 docker tag $(IMAGE_NAME):latest $(IMAGE_NAME):$(IMAGE_VERSION)
39 39
40docker-tests: ## Run docker image against the samples folder 40docker-tests: ## Run docker image against the samples folder