new: debian docker targets for cross-compiling
[qemu/ar7.git] / tests / docker / dockerfiles / debian-arm64-cross.docker
blob592b5d705523f1f214c314dc69280cd5a0989011
2 # Docker arm64 cross-compiler target
4 # This docker target builds on the base debian image.
6 FROM qemu:debian
8 # Add the foreign architecture we want and install dependencies
9 RUN dpkg --add-architecture arm64
10 RUN apt update
11 RUN apt install -yy crossbuild-essential-arm64
12 RUN apt-get build-dep -yy -a arm64 qemu
14 # Specify the cross prefix for this image (see tests/docker/common.rc)
15 ENV QEMU_CONFIGURE_OPTS --cross-prefix=aarch64-linux-gnu-