* Docker: a chance to rebuild docker image
when Dockerfile is updated, docker image will not be rebuilt,
let armbian docker image tag with framework version, thus has
a chance to rebuild it.
V2: use VERSION file to track build script version.
Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
* Docker: use upgrade instead of dist-upgrade to speed up docker build
this patch also change to use apt instead of apt-get
when compile in docker, it will run apt update&&upgrade everytime.
this is very time consuming.
apt-get dist-upgrade will not upgrade packages, thus will make build framework
do upgrade each time.
Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
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>