aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--Makefile4
2 files changed, 3 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index 701b867..ae73342 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
.*.sw*
INSTALL/DEBUG
+build*.log
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