2020-05-20 17:05:36 +03:00
|
|
|
#
|
|
|
|
# Docker arm64 cross-compiler target (tests only)
|
|
|
|
#
|
|
|
|
# This docker target builds on the debian Bullseye base image.
|
|
|
|
#
|
2020-07-01 16:56:29 +03:00
|
|
|
FROM qemu/debian11
|
2020-05-20 17:05:36 +03:00
|
|
|
|
|
|
|
# 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
|