libqtest: Inline g_assert_no_errno()
[qemu/armbru.git] / tests / docker / dockerfiles / debian-mipsel-cross.docker
blob6378bd41e7762e962c0a9b118a6c24f3bca2b143
2 # Docker mipsel cross-compiler target
4 # This docker target builds on the debian Stretch base image.
6 FROM qemu:debian9
8 MAINTAINER Philippe Mathieu-Daudé <f4bug@amsat.org>
10 # Add the foreign architecture we want and install dependencies
11 RUN dpkg --add-architecture mipsel
12 RUN apt-get update
13 RUN DEBIAN_FRONTEND=noninteractive eatmydata \
14     apt-get install -y --no-install-recommends \
15         gcc-mipsel-linux-gnu
17 RUN DEBIAN_FRONTEND=noninteractive eatmydata \
18     apt-get build-dep -yy -a mipsel qemu
20 # Specify the cross prefix for this image (see tests/docker/common.rc)
21 ENV QEMU_CONFIGURE_OPTS --cross-prefix=mipsel-linux-gnu-
23 # Install extra libraries to increase code coverage
24 RUN DEBIAN_FRONTEND=noninteractive eatmydata \
25     apt-get install -y --no-install-recommends \
26         libbz2-dev:mipsel \
27         liblzo2-dev:mipsel \
28         librdmacm-dev:mipsel \
29         libsnappy-dev:mipsel