2019-02-07 18:34:23 +03:00
|
|
|
#
|
|
|
|
# Docker multiarch cross-compiler target
|
|
|
|
#
|
|
|
|
# This docker target is builds on Debian cross compiler targets to build distro
|
|
|
|
# with a selection of cross compilers for building test binaries.
|
|
|
|
#
|
|
|
|
# On its own you can't build much but the docker-foo-cross targets
|
|
|
|
# build on top of the base debian image.
|
|
|
|
#
|
|
|
|
FROM debian:buster-slim
|
|
|
|
|
|
|
|
# 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
|
2019-07-23 17:15:27 +03:00
|
|
|
RUN apt update && \
|
|
|
|
DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata && \
|
|
|
|
DEBIAN_FRONTEND=noninteractive eatmydata \
|
2019-02-07 18:34:23 +03:00
|
|
|
apt install -y --no-install-recommends \
|
2020-03-16 20:21:28 +03:00
|
|
|
bc \
|
2019-02-07 18:34:23 +03:00
|
|
|
build-essential \
|
|
|
|
ca-certificates \
|
2020-12-14 00:16:01 +03:00
|
|
|
ccache \
|
2019-02-07 18:34:23 +03:00
|
|
|
clang \
|
2019-09-30 13:05:46 +03:00
|
|
|
dbus \
|
2020-03-16 20:21:28 +03:00
|
|
|
gdb-multiarch \
|
2019-02-07 18:34:23 +03:00
|
|
|
gettext \
|
|
|
|
git \
|
2020-03-16 20:21:28 +03:00
|
|
|
libncurses5-dev \
|
2020-08-13 16:58:50 +03:00
|
|
|
ninja-build \
|
2019-02-07 18:34:23 +03:00
|
|
|
pkg-config \
|
|
|
|
psmisc \
|
2019-09-23 21:11:40 +03:00
|
|
|
python3 \
|
2019-07-15 20:48:09 +03:00
|
|
|
python3-sphinx \
|
2019-02-07 18:34:23 +03:00
|
|
|
$(apt-get -s build-dep qemu | egrep ^Inst | fgrep '[all]' | cut -d\ -f2)
|
2020-04-14 23:06:20 +03:00
|
|
|
|
|
|
|
ENV FEATURES docs
|