-
Bug
-
Resolution: Done
-
Major
-
builds-1.2
Description of problem:
Running builds on arm64 arch is broken. The default buildah ClusterBuildStrategy pulls x86 images in arm64 environment.
Prerequisites (if any, like setup, operators/versions):
- Builds for OpenShift 1.2.0
- OpenShift 4.17
Steps to Reproduce
- Get a arm64 cluster from cluster bot
- Install operator in cluster
- Try making a build and buildrun from the example, using the default buildah ClusterBuildStrategy
Actual results:
Build fails with error:
2024/11/20 14:21:55 Error executing command: fork/exec /bin/bash: exec format error
Expected results:
Build succeeds
Reproducibility (Always/Intermittent/Only Once):
Always
Acceptance criteria:
Definition of Done:
Build Details:
Builds for OpenShift 1.2.0 (release candidate)
Additional info (Such as Logs, Screenshots, etc):
Buildah image appears to be referencing an x86_64 image:
```
➜ docker inspect registry.redhat.io/ubi8/buildah@sha256:1c89cc3cab0ac0fc7387c1fe5e63443468219aab6fd531c8dad6d22fd999819e | grep architecture "architecture": "x86_64",
```
- is related to
-
BUILD-1080 Builds operator on Arm, Power and Z - Tech Preview
- Closed
- links to