aboutsummaryrefslogtreecommitdiff
path: root/tests/docker/dockerfiles/debian-buster-arm64-cross.docker
blob: 52787edcc2c00de1fd15a5bce72c68144319e72b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#
# Docker arm64 cross-compiler target
#
# This docker target builds on the Debian's Buster base image. There
# are no QEMU pre-requistes so this image can only be used to build
# test cases.
#
FROM qemu:debian10

# Add the foreign architecture we want and install dependencies
RUN dpkg --add-architecture arm64
RUN apt update && \
    DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata && \
    DEBIAN_FRONTEND=noninteractive eatmydata \
    apt-get install -y --no-install-recommends \
        crossbuild-essential-arm64