# | |
# Docker arm64 cross-compiler target (tests only) | |
# | |
# This docker target builds on the debian Bullseye base image. | |
# | |
FROM qemu:debian11 | |
# Add the foreign architecture we want and install dependencies | |
RUN dpkg --add-architecture arm64 | |
RUN apt update && \ | |
DEBIAN_FRONTEND=noninteractive eatmydata \ | |
apt install -y --no-install-recommends \ | |
crossbuild-essential-arm64 gcc-10-aarch64-linux-gnu |