]>
Commit | Line | Data |
---|---|---|
24e0131f AB |
1 | # |
2 | # Docker arm64 cross-compiler target | |
3 | # | |
18b6be43 | 4 | # This docker target builds on the debian Buster base image. |
24e0131f | 5 | # |
767b6bd2 | 6 | FROM qemu/debian10 |
24e0131f AB |
7 | |
8 | # Add the foreign architecture we want and install dependencies | |
9 | RUN dpkg --add-architecture arm64 | |
98808c3d PMD |
10 | RUN apt update && \ |
11 | DEBIAN_FRONTEND=noninteractive eatmydata \ | |
12 | apt install -y --no-install-recommends \ | |
8a98bfc6 | 13 | crossbuild-essential-arm64 |
98808c3d PMD |
14 | RUN apt update && \ |
15 | DEBIAN_FRONTEND=noninteractive eatmydata \ | |
d2467284 | 16 | apt build-dep -yy -a arm64 --arch-only qemu |
24e0131f AB |
17 | |
18 | # Specify the cross prefix for this image (see tests/docker/common.rc) | |
19 | ENV QEMU_CONFIGURE_OPTS --cross-prefix=aarch64-linux-gnu- | |
09bb808f | 20 | ENV DEF_TARGET_LIST aarch64-softmmu,aarch64-linux-user |
905bf0ee | 21 | |
98808c3d PMD |
22 | RUN apt update && \ |
23 | DEBIAN_FRONTEND=noninteractive eatmydata \ | |
24 | apt install -y --no-install-recommends \ | |
905bf0ee PMD |
25 | libbz2-dev:arm64 \ |
26 | liblzo2-dev:arm64 \ | |
905bf0ee PMD |
27 | librdmacm-dev:arm64 \ |
28 | libsnappy-dev:arm64 \ | |
29 | libxen-dev:arm64 | |
c705b861 PMD |
30 | |
31 | # nettle | |
32 | ENV QEMU_CONFIGURE_OPTS $QEMU_CONFIGURE_OPTS --enable-nettle |