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