aboutsummaryrefslogtreecommitdiff
path: root/tests/docker/dockerfiles/debian-riscv64-test-cross.docker
blob: e5f83a5aebbf87eb1065bbcc4e56cc653e32bc47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#
# Docker cross-compiler target
#
# This docker target builds on the Debian Bullseye base image.
#
FROM docker.io/library/debian:11-slim

RUN export DEBIAN_FRONTEND=noninteractive && \
    apt-get update && \
    apt-get install -y eatmydata && \
    eatmydata apt-get dist-upgrade -y && \
    eatmydata apt-get install --no-install-recommends -y \
        gcc-riscv64-linux-gnu \
        libc6-dev-riscv64-cross