diff mbox series

[v3,17/46] docker: Add fedora-i386-cross image

Message ID 20180424152405.10304-18-alex.bennee@linaro.org
State Superseded
Headers show
Series fix building of tests/tcg | expand

Commit Message

Alex Bennée April 24, 2018, 3:23 p.m. UTC
From: Fam Zheng <famz@redhat.com>


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>


---
v2
  - include static glibc package as well
---
 tests/docker/dockerfiles/fedora-i386-cross.docker | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 tests/docker/dockerfiles/fedora-i386-cross.docker

-- 
2.17.0

Comments

Philippe Mathieu-Daudé April 24, 2018, 11:04 p.m. UTC | #1
On 04/24/2018 12:23 PM, Alex Bennée wrote:
> From: Fam Zheng <famz@redhat.com>

> 

> 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>


> 

> ---

> v2

>   - include static glibc package as well

> ---

>  tests/docker/dockerfiles/fedora-i386-cross.docker | 14 ++++++++++++++

>  1 file changed, 14 insertions(+)

>  create mode 100644 tests/docker/dockerfiles/fedora-i386-cross.docker

> 

> 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

>
diff mbox series

Patch

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