1# 2# Docker multiarch cross-compiler target 3# 4# This docker target is builds on Debian and Emdebian's cross compiler targets 5# to build distro with a selection of cross compilers for building test binaries. 6# 7# On its own you can't build much but the docker-foo-cross targets 8# build on top of the base debian image. 9# 10FROM debian:stable-slim 11 12# Duplicate deb line as deb-src 13RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sources.list 14 15# Install common build utilities 16RUN apt update 17RUN DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata 18RUN DEBIAN_FRONTEND=noninteractive eatmydata \ 19 apt install -y --no-install-recommends \ 20 ca-certificates build-essential clang git bison flex 21