diff mbox series

[for,2.10,v3,6/6] docker: reduce noise when building travis.docker

Message ID 20170807153934.29477-7-alex.bennee@linaro.org
State New
Headers show
Series Various docker fixes | expand

Commit Message

Alex Bennée Aug. 7, 2017, 3:39 p.m. UTC
Set the DEBIAN_FRONTEND and locale env vars to stop apt complaining so
much as we build the image. See the Travis build logs where it is done
by their scripts.

Suggested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>

Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>


---
v3
  - one line env, drop LANG
  - add r-b and t-b tags
---
 tests/docker/dockerfiles/travis.docker | 1 +
 1 file changed, 1 insertion(+)

-- 
2.13.0
diff mbox series

Patch

diff --git a/tests/docker/dockerfiles/travis.docker b/tests/docker/dockerfiles/travis.docker
index 57ac8e1419..03b7ef34de 100644
--- a/tests/docker/dockerfiles/travis.docker
+++ b/tests/docker/dockerfiles/travis.docker
@@ -1,4 +1,5 @@ 
 FROM quay.io/travisci/travis-ruby
+ENV DEBIAN_FRONTEND=noninteractive LC_ALL=en_US.UTF-8
 RUN apt-get update
 RUN apt-get -y build-dep qemu
 RUN apt-get -y install device-tree-compiler python2.7 python-yaml dh-autoreconf gdb strace lsof net-tools