2 # Docker arm64 cross-compiler target
4 # This docker target builds on the debian Buster base image.
8 # Add the foreign architecture we want and install dependencies
9 RUN dpkg --add-architecture arm64
11 DEBIAN_FRONTEND=noninteractive eatmydata \
12 apt install -y --no-install-recommends \
13 crossbuild-essential-arm64
15 DEBIAN_FRONTEND=noninteractive eatmydata \
16 apt build-dep -yy -a arm64 --arch-only qemu
18 # Specify the cross prefix for this image (see tests/docker/common.rc)
19 ENV QEMU_CONFIGURE_OPTS --cross-prefix=aarch64-linux-gnu-
20 ENV DEF_TARGET_LIST aarch64-softmmu,aarch64-linux-user
23 DEBIAN_FRONTEND=noninteractive eatmydata \
24 apt install -y --no-install-recommends \
32 ENV QEMU_CONFIGURE_OPTS $QEMU_CONFIGURE_OPTS --enable-nettle