Image architecture mismatch: image uses\"\", expecting \"linux\""

Latest response

Current Openshift Version: 4.4.5

Hi,
We have recently updated our Openshift cluster and is experiencing the following error during the build phase of our pods, through dockerfile using image python 3.8.3 (image also attached):
Image architecture mismatch: image uses \"\", expecting \"linux\""

While this is wont prevent the build from failing, it fails to create the pod with the error: rpc error: code = Unknown desc = Image operating system mismatch: image uses "", expecting "linux"

I have tried the following:
- Deleted the dev deployment config and redeploying under the same name
- Deploy using a new name
- Different python image version: 3.8.3, 3.8.0, 3.7.4, 3
- Changed STEP 2 http, https, deployed_environment credentials and variables

It looks to be related to:
https://github.com/containers/buildah/issues/2225
https://github.com/openshift/compliance-operator/issues/185

Any help would be highly appreciated. Thank you.

Responses