1#
2# Docker armhf cross-compiler target
3#
4# This docker target builds on the base debian image.
5#
6FROM qemu:debian
7
8# Add the foreign architecture we want and install dependencies
9RUN dpkg --add-architecture armhf
10RUN apt update
11RUN apt install -yy crossbuild-essential-armhf
12RUN apt-get build-dep -yy -a armhf qemu
13
14# Specify the cross prefix for this image (see tests/docker/common.rc)
15ENV QEMU_CONFIGURE_OPTS --cross-prefix=arm-linux-gnueabihf-
16