diff options
| author | Alex Bennée | 2019-08-15 21:39:16 +0200 |
|---|---|---|
| committer | Alex Bennée | 2019-09-10 15:14:31 +0200 |
| commit | d2467284e82f091a8997ec6a018107d3af009e84 (patch) | |
| tree | a95b0314d2743d74339d76d112e67a39054bfb6a /tests/docker/dockerfiles/debian-mips-cross.docker | |
| parent | tests/docker: add debian-amd64-cross for non-x86 hosts (diff) | |
| download | qemu-d2467284e82f091a8997ec6a018107d3af009e84.tar.gz qemu-d2467284e82f091a8997ec6a018107d3af009e84.tar.xz qemu-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.docker | 6 |
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- |
