With some docker CLI version, `stty size` in the container will return `0 0`,
which causes `dialog` to fail. This commit fixes that by setting the actual
terminal size.
For more infor, see:
https://github.com/docker/for-linux/issues/314
when start build in docker, it will rebuild docker image everytime.
it will waste of time and disk space.
check if there is a armbian docker image before build docker image.
Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>