docker: use eatmydata in debian armhf image

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>
This commit is contained in:
Philippe Mathieu-Daudé 2017-06-02 15:56:15 -03:00 committed by Alex Bennée
parent 96e659d006
commit 8a48be0e87

View 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-