summaryrefslogtreecommitdiff
path: root/tests/docker/dockerfiles/debian-armhf-cross.docker
blob: 668d60aeb39e0e29847151884979cae15a69c1a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#
# Docker armhf cross-compiler target
#
# This docker target builds on the base debian image.
#
FROM qemu:debian

# Add the foreign architecture we want and install dependencies
RUN dpkg --add-architecture armhf
RUN apt update
RUN apt install -yy crossbuild-essential-armhf
RUN apt-get build-dep -yy -a armhf qemu

# Specify the cross prefix for this image (see tests/docker/common.rc)
ENV QEMU_CONFIGURE_OPTS --cross-prefix=arm-linux-gnueabihf-