docker: use eatmydata in debian armhf image
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Fri, 2 Jun 2017 18:56:15 +0000 (15:56 -0300)
committerAlex Bennée <alex.bennee@linaro.org>
Wed, 21 Jun 2017 14:01:48 +0000 (15:01 +0100)
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
tests/docker/dockerfiles/debian-armhf-cross.docker

index 668d60aeb39e0e29847151884979cae15a69c1a7..ba8d5a5167f1da7061cc583f957abdc54a21c749 100644 (file)
@@ -8,8 +8,11 @@ FROM qemu:debian
 # Add the foreign architecture we want and install dependencies
 RUN dpkg --add-architecture armhf
 RUN apt update
-RUN apt install -yy crossbuild-essential-armhf
-RUN apt-get build-dep -yy -a armhf qemu
+RUN DEBIAN_FRONTEND=noninteractive eatmydata \
+    apt-get install -y --no-install-recommends \
+        crossbuild-essential-armhf
+RUN DEBIAN_FRONTEND=noninteractive eatmydata \
+    apt-get build-dep -yy -a armhf qemu
 
 # Specify the cross prefix for this image (see tests/docker/common.rc)
 ENV QEMU_CONFIGURE_OPTS --cross-prefix=arm-linux-gnueabihf-