From 421983eeb79adb143e12b59f99418b7fde4fae6f Mon Sep 17 00:00:00 2001 From: Gene Wood Date: Fri, 22 Mar 2019 14:31:56 -0700 Subject: [PATCH] Add build make target that mirrors previous behavior Previous behavior of build was the build-from-cwd behavior --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 0e1bb53a..9107318e 100644 --- a/Makefile +++ b/Makefile @@ -58,6 +58,9 @@ run-tests: run-tests-resources ## Just run the tests (no build/get). Use `make docker run -it --rm --network=test-mozdef_default mozdef/mozdef_tester bash -c "source /opt/mozdef/envs/python/bin/activate && py.test --delete_indexes --delete_queues $(TEST_CASE)" rebuild-run-tests: build-tests run-tests +.PHONY: build +build: build-from-cwd + .PHONY: build-from-cwd build-from-cwd: ## Build local MozDef images (use make NO_CACHE=--no-cache build to disable caching) docker-compose -f docker/compose/docker-compose.yml -p $(NAME) $(NO_CACHE) $(BUILD_MODE)