]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
docker: use eatmydata, install common build packages in base image
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Fri, 2 Jun 2017 18:56:14 +0000 (15:56 -0300)
committerAlex Bennée <alex.bennee@linaro.org>
Wed, 21 Jun 2017 14:01:48 +0000 (15:01 +0100)
The common build packages are: build-essential clang git bison flex

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
[AJB: fixups following stretch update]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
tests/docker/dockerfiles/debian.docker

index b0e1691bebcd9c53ad98d43093798affc961c848..10953b2425bdfc6006e8122f04e589cb2a7b4651 100644 (file)
@@ -14,4 +14,7 @@ RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sources.lis
 
 # Install common build utilities
 RUN apt update
-RUN apt install -yy build-essential clang ca-certificates
+RUN DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata
+RUN DEBIAN_FRONTEND=noninteractive eatmydata \
+    apt install -y --no-install-recommends \
+    ca-certificates build-essential clang git bison flex