debian-armel-cross.docker (868B)
1# 2# Docker armel cross-compiler target 3# 4# This docker target builds on the debian Stretch base image. 5# 6FROM qemu/debian10 7MAINTAINER Philippe Mathieu-Daudé <f4bug@amsat.org> 8 9# Add the foreign architecture we want and install dependencies 10RUN dpkg --add-architecture armel && \ 11 apt update && \ 12 apt install -yy crossbuild-essential-armel && \ 13 DEBIAN_FRONTEND=noninteractive eatmydata \ 14 apt build-dep -yy -a armel --arch-only qemu 15 16# Specify the cross prefix for this image (see tests/docker/common.rc) 17ENV QEMU_CONFIGURE_OPTS --cross-prefix=arm-linux-gnueabi- 18ENV DEF_TARGET_LIST arm-softmmu,arm-linux-user,armeb-linux-user 19 20RUN apt update && \ 21 DEBIAN_FRONTEND=noninteractive eatmydata \ 22 apt install -y --no-install-recommends \ 23 libbz2-dev:armel \ 24 liblzo2-dev:armel \ 25 librdmacm-dev:armel \ 26 libsnappy-dev:armel