From 3ee1a82d8761902a75e075ccbcd8e9e02a226051 Mon Sep 17 00:00:00 2001 From: Tadas Sutkaitis Date: Thu, 20 Jul 2023 23:44:37 +0200 Subject: add: cross-compile support The main goal is to be able to build ARM images on standard x86 hardware. Add simple functions supported by python-py and podman-py to enable creation of container images on emulated architectures. Change-Id: I1526b460f6e271c2ec63ab3a3b1dc348d742e96d --- kolla/image/tasks.py | 1 + 1 file changed, 1 insertion(+) (limited to 'kolla/image') diff --git a/kolla/image/tasks.py b/kolla/image/tasks.py index c6cde6bbe..5babce560 100644 --- a/kolla/image/tasks.py +++ b/kolla/image/tasks.py @@ -400,6 +400,7 @@ class BuildTask(EngineTask): network_mode=self.conf.network_mode, pull=pull, forcerm=self.forcerm, + platform=self.conf.platform, buildargs=buildargs, **kwargs)[1]: if self.conf.engine == engine.Engine.PODMAN.value: -- cgit v1.2.3