From 3f43acf82d7efb6d610529c349c844326ea7f34a Mon Sep 17 00:00:00 2001 From: Robin Heinemann Date: Sun, 12 May 2019 18:40:56 +0200 Subject: [PATCH] [docker] use stty to use fix the cols and rows in docker --- makefiles/docker-make.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/makefiles/docker-make.sh b/makefiles/docker-make.sh index 9925542c..8ea3551f 100755 --- a/makefiles/docker-make.sh +++ b/makefiles/docker-make.sh @@ -14,6 +14,7 @@ docker ps > /dev/null mkdir -p build echo -e "\n\n\nstarting build at $(date) for commit $(git describe --always --abbrev=8 --dirty)" >> build/build.log docker run --privileged \ + -t \ -h "axiom-build" \ -v /dev:/dev \ -v $(pwd):/root/axiom-firmware/ \ @@ -21,5 +22,5 @@ docker run --privileged \ -l axiom-build \ $([ -z "$CI" ] && echo "-it" ) \ vupvupvup/axiom_build:latest \ - /bin/bash -c "make -f makefiles/host/main.mk -I makefiles/host -j $(nproc) $*" \ + /bin/bash -c "stty cols $COLUMNS rows $LINES; make -f makefiles/host/main.mk -I makefiles/host -j $(nproc) $*" \ | tee -a build/build.log