1# 2# Docker arm64 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 arm64 10RUN apt update 11RUN DEBIAN_FRONTEND=noninteractive eatmydata \ 12 apt-get install -y --no-install-recommends \ 13 crossbuild-essential-arm64 14RUN DEBIAN_FRONTEND=noninteractive eatmydata \ 15 apt-get build-dep -yy -a arm64 qemu 16 17# Specify the cross prefix for this image (see tests/docker/common.rc) 18ENV QEMU_CONFIGURE_OPTS --cross-prefix=aarch64-linux-gnu- 19 20RUN DEBIAN_FRONTEND=noninteractive eatmydata \ 21 apt-get install -y --no-install-recommends \ 22 glusterfs-common:arm64 \ 23 libbz2-dev:arm64 \ 24 liblzo2-dev:arm64 \ 25 libncursesw5-dev:arm64 \ 26 libnfs-dev:arm64 \ 27 librdmacm-dev:arm64 \ 28 libsnappy-dev:arm64 \ 29 libxen-dev:arm64 30