2020-05-20 17:05:35 +03:00
|
|
|
#
|
|
|
|
# Docker multiarch cross-compiler target
|
|
|
|
#
|
|
|
|
# This docker target uses the current development version of Debian as
|
|
|
|
# a base for cross compilers for building test binaries. We won't
|
|
|
|
# attempt to build QEMU on it yet given it is still in development.
|
|
|
|
#
|
|
|
|
# On its own you can't build much but the docker-foo-cross targets
|
|
|
|
# build on top of the base debian image.
|
|
|
|
#
|
2021-07-09 17:29:37 +03:00
|
|
|
FROM docker.io/library/debian:bullseye-slim
|
2020-05-20 17:05:35 +03:00
|
|
|
|
|
|
|
# Duplicate deb line as deb-src
|
|
|
|
RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sources.list
|
|
|
|
|
|
|
|
# Install common build utilities
|
|
|
|
RUN apt update && \
|
|
|
|
DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata
|