Skip to content

Commit

Permalink
[docker] use stty to use fix the cols and rows in docker
Browse files Browse the repository at this point in the history
  • Loading branch information
rroohhh committed May 12, 2019
1 parent 385e2aa commit 3f43acf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion makefiles/docker-make.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@ 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/ \
-w /root/axiom-firmware/ \
-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

0 comments on commit 3f43acf

Please sign in to comment.