summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2017-06-02 15:56:14 -0300
committerAlex Bennée <alex.bennee@linaro.org>2017-06-21 15:01:48 +0100
commit96e659d006ccfcc156142fc700acf29f856498ff (patch)
tree4fe9ac176d6ac1bbc668ee25afbfaecb160a2475
parentcf80eb8d09fba45067344310ae0c01655e6e58cb (diff)
downloadfocaccia-qemu-96e659d006ccfcc156142fc700acf29f856498ff.tar.gz
focaccia-qemu-96e659d006ccfcc156142fc700acf29f856498ff.zip
docker: use eatmydata, install common build packages in base image
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>
-rw-r--r--tests/docker/dockerfiles/debian.docker5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/docker/dockerfiles/debian.docker b/tests/docker/dockerfiles/debian.docker
index b0e1691beb..10953b2425 100644
--- a/tests/docker/dockerfiles/debian.docker
+++ b/tests/docker/dockerfiles/debian.docker
@@ -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