aboutsummaryrefslogtreecommitdiff
path: root/kolla/image
diff options
context:
space:
mode:
authorTadas Sutkaitis <tadasas@gmail.com>2023-07-20 23:44:37 +0200
committerTadas <tadasas@gmail.com>2024-02-08 02:16:05 +0200
commit3ee1a82d8761902a75e075ccbcd8e9e02a226051 (patch)
tree135f2a4ac40e295f3e70c921c882276cc8c4e8f4 /kolla/image
parent9ebd51f7991a76059e91be98ac579ff705954337 (diff)
downloadkolla-3ee1a82d8761902a75e075ccbcd8e9e02a226051.tar.gz
kolla-3ee1a82d8761902a75e075ccbcd8e9e02a226051.zip
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
Diffstat (limited to 'kolla/image')
-rw-r--r--kolla/image/tasks.py1
1 files changed, 1 insertions, 0 deletions
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: