2022-02-25 20:20:09 +03:00
|
|
|
#
|
|
|
|
# Docker cross-compiler target
|
|
|
|
#
|
|
|
|
# This docker target builds on the Debian Bullseye base image.
|
|
|
|
#
|
2022-09-14 18:59:42 +03:00
|
|
|
FROM docker.io/library/debian:11-slim
|
2022-02-25 20:20:09 +03:00
|
|
|
|
2022-09-14 18:59:42 +03:00
|
|
|
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 \
|
2022-02-25 20:20:09 +03:00
|
|
|
gcc-riscv64-linux-gnu \
|
|
|
|
libc6-dev-riscv64-cross
|