libqtest: Inline g_assert_no_errno()
[qemu/armbru.git] / tests / docker / dockerfiles / debian-armhf-cross.docker
blob5100b0afc0fe4e77f07f243a3caad5562e3b0be5
2 # Docker armhf cross-compiler target
4 # This docker target builds on the debian Stretch base image.
6 FROM qemu:debian9
8 # Add the foreign architecture we want and install dependencies
9 RUN dpkg --add-architecture armhf
10 RUN apt update
11 RUN DEBIAN_FRONTEND=noninteractive eatmydata \
12     apt-get install -y --no-install-recommends \
13         crossbuild-essential-armhf
14 RUN DEBIAN_FRONTEND=noninteractive eatmydata \
15     apt-get build-dep -yy -a armhf qemu
17 # Specify the cross prefix for this image (see tests/docker/common.rc)
18 ENV QEMU_CONFIGURE_OPTS --cross-prefix=arm-linux-gnueabihf-
20 RUN DEBIAN_FRONTEND=noninteractive eatmydata \
21     apt-get install -y --no-install-recommends \
22         libbz2-dev:armhf \
23         liblzo2-dev:armhf \
24         librdmacm-dev:armhf \
25         libsnappy-dev:armhf \
26         libxen-dev:armhf