Commit Graph

9 Commits

Author SHA1 Message Date
Igor Pečovnik
c55f6ea8bc
Bugfix
Version file must have full path or is not read
2019-07-11 07:51:25 +02:00
zhangn1985
94027c0f58 Docker build speed up. (#1451)
* 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>
2019-07-09 12:04:24 +02:00
Firefly Team
2f8ce01852 Docker: override stty size in container (#1420)
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
2019-06-22 23:32:59 -04:00
Zhang Ning
5b9d2110c6 Docker: do not copy source code to docker image
map it to container, so userpatch/output no need map from container

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-04-11 14:25:55 +08:00
Zhang Ning
951f91442f Docker: do not rebuild docker image everytime.
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>
2019-04-11 13:41:19 +08:00
zador-blood-stained
2a11de768c Merge safe changes from development to master, part 2 2018-04-29 16:02:11 +03:00
zador-blood-stained
51dd4847c0 Show Docker version in case of Docker error 2017-08-23 12:35:34 +03:00
zador-blood-stained
50e593e494 Docker and Vagrant fixes and improvements 2017-08-02 21:57:33 +03:00
zador-blood-stained
61b2bfb741 Improve Docker support
Closes #489
2017-08-01 12:30:34 +03:00