docker: Add fedora-i386-cross image

It has some basic *-devel.i686 packages to be used with "gcc -m32" as a
32 bit cross build environment.

Signed-off-by: Fam Zheng <famz@redhat.com>
[AJB: add glibc-static]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
This commit is contained in:
Fam Zheng 2017-09-08 17:16:56 +08:00 committed by Alex Bennée
parent 208ecb3e1a
commit 8bce19d3a6

View File

@ -0,0 +1,14 @@
FROM fedora:latest
ENV PACKAGES \
gcc \
glibc-static.i686 \
glibc-devel.i686 \
glib2-devel.i686 \
zlib-devel.i686 \
glib2-devel.i686 \
nettle-devel.i686 \
pixman-devel.i686 \
gnutls-devel.i686
RUN dnf install -y $PACKAGES
RUN rpm -q $PACKAGES | sort > /packages.txt