aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 3771756..c1a92ba 100644
--- a/Makefile
+++ b/Makefile
@@ -77,7 +77,7 @@ build-debug: INSTALL/flavours/$(FLAVOUR).tasks
@echo "------------------- Building image $(NAME)-$(FLAVOUR) (debug mode) -------------------"
@touch INSTALL/DEBUG
@echo "FLAVOUR=$(FLAVOUR)" >INSTALL/flavour.conf
- @docker build --no-cache=true --rm --pull -t $(IMAGE_NAME) .
+ @docker build --no-cache=true --rm --pull -t $(IMAGE_NAME) . | tee build_$(FLAVOUR)_debug.log
@rm -f INSTALL/DEBUG INSTALL/flavour.conf
@docker images
@@ -89,7 +89,7 @@ build: INSTALL/flavours/$(FLAVOUR).tasks
@echo "------------------- Building image $(NAME)-$(FLAVOUR) -------------------"
@rm -f INSTALL/DEBUG
@echo "FLAVOUR=$(FLAVOUR)" >INSTALL/flavour.conf
- @docker build --no-cache=true --rm --pull -t $(IMAGE_NAME) .
+ @docker build --no-cache=true --rm --pull -t $(IMAGE_NAME) . | tee build_$(FLAVOUR).log
@rm -f INSTALL/flavour.conf
@docker images