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