docker: Add fedora-i386-cross image
[qemu/ar7.git] / tests / docker / dockerfiles / debian-ports.docker
blobe05a9a98024c7f416e09b98e78ae3123c9ae06e0
2 # Docker multiarch cross-compiler target
4 # This docker target is builds on Debian Ports cross compiler targets
5 # to build distro with a selection of cross compilers for building test binaries.
7 # On its own you can't build much but the docker-foo-cross targets
8 # build on top of the base debian image.
10 FROM debian:unstable
12 MAINTAINER Philippe Mathieu-Daudé <f4bug@amsat.org>
14 RUN echo "deb [arch=amd64] http://deb.debian.org/debian unstable main" > /etc/apt/sources.list
16 # Duplicate deb line as deb-src
17 RUN cat /etc/apt/sources.list | sed -ne "s/^deb\ \(\[.*\]\ \)\?\(.*\)/deb-src \2/p" >> /etc/apt/sources.list
19 # Setup some basic tools we need
20 RUN apt-get update && \
21     DEBIAN_FRONTEND=noninteractive apt-get install -yy eatmydata
22 RUN DEBIAN_FRONTEND=noninteractive eatmydata \
23     apt-get install -y --no-install-recommends \
24         bison \
25         build-essential \
26         ca-certificates \
27         clang \
28         debian-ports-archive-keyring \
29         flex \
30         gettext \
31         git \
32         pkg-config \
33         psmisc \
34         python \
35         texinfo \
36         $(apt-get -s build-dep qemu | egrep ^Inst | fgrep '[all]' | cut -d\  -f2)