tests/docker: promote debian-riscv64-cross to a full image
commit5c24acf320a0ac259447788162a3b17505ad4fb9
authorAlex Bennée <alex.bennee@linaro.org>
Fri, 17 Sep 2021 16:23:25 +0000 (17 17:23 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 12 Oct 2021 07:37:05 +0000 (12 08:37 +0100)
tree4a9a6372f4a6aad151c227e833a707e3e5759508
parent5343a837cdb0e10db05310e0da5a89843539b400
tests/docker: promote debian-riscv64-cross to a full image

To be able to cross build QEMU itself we need to include a few more
libraries. These are only available in Debian's unstable ports repo
for now so we need to base the riscv64 image on sid with the the
minimal libs needed to build QEMU (glib/pixman).

The result works but is not as clean as using build-dep to bring in
more dependencies. However sid is by definition a shifting pile of
sand and by keeping the list of libs minimal we reduce the chance of
having an image we can't build. It's good enough for a basic cross
build testing of TCG.

Cc: "Daniel P. Berrangé" <berrange@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210914185830.1378771-2-richard.henderson@linaro.org>
[AJB: tweak allow_failure]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210917162332.3511179-5-alex.bennee@linaro.org>
.gitlab-ci.d/container-cross.yml
tests/docker/Makefile.include
tests/docker/dockerfiles/debian-riscv64-cross.docker