aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2017-09-08 17:16:56 +0800
committerAlex Bennée <alex.bennee@linaro.org>2018-06-05 16:25:42 +0100
commit8bce19d3a6abc35c8680e22e7b7687a6846d46cd (patch)
tree09e8f4f2580f865d6564906d908b7372672a0819 /tests
parent208ecb3e1acc8d55dab49fdf721a86d513691688 (diff)
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>
Diffstat (limited to 'tests')
-rw-r--r--tests/docker/dockerfiles/fedora-i386-cross.docker14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/docker/dockerfiles/fedora-i386-cross.docker b/tests/docker/dockerfiles/fedora-i386-cross.docker
new file mode 100644
index 0000000000..8fbef2fa53
--- /dev/null
+++ b/tests/docker/dockerfiles/fedora-i386-cross.docker
@@ -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