From a3aeacb5feb937b15bc8fc39b2d3a98e55401767 Mon Sep 17 00:00:00 2001 From: Clement Verna Date: Fri, 27 Aug 2021 12:28:16 +0200 Subject: [PATCH] Use GOARCH value for arm32 bit. For arm32 bit we need to use the GOARCH[1] specification and replace armhfp by arm otherwise client using the container registry manifest list feature will not be able to pull arm32 bit images. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1997789 [1] - https://golang.org/doc/install/source#environment Signed-off-by: Clement Verna --- imagefactory_plugins/Docker/Docker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imagefactory_plugins/Docker/Docker.py b/imagefactory_plugins/Docker/Docker.py index 68e12c3..4ba65a0 100644 --- a/imagefactory_plugins/Docker/Docker.py +++ b/imagefactory_plugins/Docker/Docker.py @@ -398,7 +398,7 @@ def _run_guestmount(g): if arch == "x86_64": arch = "amd64" elif arch == "armv7hl": - arch = "armhfp" + arch = "arm" tdict = { } tdict['commentstring'] = parameters.get('comment', 'Created by Image Factory') tdict['os'] = parameters.get('os', 'linux')