summaryrefslogtreecommitdiff
path: root/tests/docker/dockerfiles/debian-mips-cross.docker
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2019-08-15 19:39:16 +0000
committerAlex Bennée <alex.bennee@linaro.org>2019-09-10 14:14:31 +0100
commitd2467284e82f091a8997ec6a018107d3af009e84 (patch)
treea95b0314d2743d74339d76d112e67a39054bfb6a /tests/docker/dockerfiles/debian-mips-cross.docker
parentec22b72699abf1860ca9692717e997e527046ee4 (diff)
downloadqemu-d2467284e82f091a8997ec6a018107d3af009e84.zip
tests/docker: use --arch-only for installing deps
The Debian QEMU packages require a bunch of cross compilers for building firmware which aren't available on all host architectures. Using --arch-only skips this particular requirement and allows us to install just the dependencies we need. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'tests/docker/dockerfiles/debian-mips-cross.docker')
-rw-r--r--tests/docker/dockerfiles/debian-mips-cross.docker6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/docker/dockerfiles/debian-mips-cross.docker b/tests/docker/dockerfiles/debian-mips-cross.docker
index a54efa7253..08a8e1c29c 100644
--- a/tests/docker/dockerfiles/debian-mips-cross.docker
+++ b/tests/docker/dockerfiles/debian-mips-cross.docker
@@ -1,9 +1,9 @@
#
# Docker mips cross-compiler target
#
-# This docker target builds on the debian Stretch base image.
+# This docker target builds on the debian Buster base image.
#
-FROM qemu:debian9
+FROM qemu:debian10
MAINTAINER Philippe Mathieu-Daudé <f4bug@amsat.org>
@@ -16,7 +16,7 @@ RUN apt update && \
RUN apt update && \
DEBIAN_FRONTEND=noninteractive eatmydata \
- apt build-dep -yy -a mips qemu
+ apt build-dep -yy -a mips --arch-only qemu
# Specify the cross prefix for this image (see tests/docker/common.rc)
ENV QEMU_CONFIGURE_OPTS --cross-prefix=mips-linux-gnu-