diff --git a/ci-scripts/cls_containerize.py b/ci-scripts/cls_containerize.py index 88de9d135d..f3407fac6e 100644 --- a/ci-scripts/cls_containerize.py +++ b/ci-scripts/cls_containerize.py @@ -370,22 +370,23 @@ class Containerize(): # Creating a tupple with the imageName and the DockerFile prefix pattern on obelix if result is not None: imageNames.append(('oai-enb', 'eNB')) - else: - result = re.search('gNB', self.imageKind) - if result is not None: - imageNames.append(('oai-gnb', 'gNB')) - else: - result = re.search('all', self.imageKind) - if result is not None: - imageNames.append(('oai-enb', 'eNB')) - imageNames.append(('oai-gnb', 'gNB')) - imageNames.append(('oai-nr-cuup', 'nr-cuup')) - imageNames.append(('oai-lte-ue', 'lteUE')) - imageNames.append(('oai-nr-ue', 'nrUE')) - if self.host == 'Red Hat': - imageNames.append(('oai-physim', 'phySim')) - if self.host == 'Ubuntu': - imageNames.append(('oai-lte-ru', 'lteRU')) + result = re.search('gNB', self.imageKind) + if result is not None: + imageNames.append(('oai-gnb', 'gNB')) + result = re.search('all', self.imageKind) + if result is not None: + imageNames.append(('oai-enb', 'eNB')) + imageNames.append(('oai-gnb', 'gNB')) + imageNames.append(('oai-nr-cuup', 'nr-cuup')) + imageNames.append(('oai-lte-ue', 'lteUE')) + imageNames.append(('oai-nr-ue', 'nrUE')) + if self.host == 'Red Hat': + imageNames.append(('oai-physim', 'phySim')) + if self.host == 'Ubuntu': + imageNames.append(('oai-lte-ru', 'lteRU')) + result = re.search('build_cross_arm64', self.imageKind) + if result is not None: + self.dockerfileprefix = '.ubuntu20.cross-arm64' # Workaround for some servers, we need to erase completely the workspace if self.forcedWorkspaceCleanup: diff --git a/ci-scripts/xml_files/container_image_build_cross.xml b/ci-scripts/xml_files/container_image_build_cross.xml new file mode 100644 index 0000000000..2cc12f5a15 --- /dev/null +++ b/ci-scripts/xml_files/container_image_build_cross.xml @@ -0,0 +1,41 @@ + + + build-tab + Build Container Images + wrench + + 000001 + + + + + Build_Image + Cross-Compile for ARM64 + build_cross_arm64 + 0 + 0 + True + + +