Skip to content
Permalink
Browse files

fix nocache

  • Loading branch information...
andrewkrug committed May 19, 2019
1 parent 2793428 commit f12181a31c263e60f71849b5a2cd0f25e39ab990
Showing with 2 additions and 1 deletion.
  1. +2 −1 Makefile
@@ -13,6 +13,7 @@ NAME := mozdef
VERSION := 0.1
BRANCH := master
NO_CACHE := ## Pass `--no-cache` in order to disable Docker cache
PARALLEL := --parallel
GITHASH := latest ## Pass `$(git rev-parse --short HEAD`) to tag docker hub images as latest git-hash instead
TEST_CASE := tests ## Run all (`tests`) or a specific test case (ex `tests/alerts/tests/alerts/test_proxy_drop_exfil_domains.py`)
TMPDIR := $(shell mktemp -d )
@@ -65,7 +66,7 @@ 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) --parallel
docker-compose -f docker/compose/docker-compose.yml -p $(NAME) $(BUILD_MODE) $(PARALLEL) $(NO_CACHE)

.PHONY: build-from-github
build-from-github: ## Build local MozDef images from the github branch (use make NO_CACHE=--no-cache build to disable caching).

0 comments on commit f12181a

Please sign in to comment.
You can’t perform that action at this time.