cloud-builders icon indicating copy to clipboard operation
cloud-builders copied to clipboard

Adding Power support for image gcr.io/cloud-builders/gcs-fetcher

Open seth-priya opened this issue 6 years ago • 3 comments

Hi All,

We have a requirement for using the gcs-fetcher image on Power(ppc64le) architecture for knative deployment.

However, the images available here - https://console.cloud.google.com/gcr/images/cloud-builders/GLOBAL/gcs-fetcher?gcrImageListsize=30 have support for "amd64" only as seen below

docker image inspect gcr.io/cloud-builders/gcs-fetcher | grep Arch "Architecture": "amd64",

I was able to build this image locally on a Power machine and validate it successfully and was looking for help in making the image @ gcr.io, multi-arch

Thank you!!

seth-priya avatar Jan 28 '19 10:01 seth-priya

any thoughts on this? Thanks!!

seth-priya avatar Feb 11 '19 04:02 seth-priya

cc @jonjohnsonjr

imjasonh avatar Feb 11 '19 13:02 imjasonh

This would involve cross-compiling here https://github.com/GoogleCloudPlatform/cloud-builders/blob/3d11322abd7d5d185414eeae5ee0ee9c38b7f58f/gcs-fetcher/cloudbuild.yaml#L3-L5 and doing some docker manifest commands to assemble the multi-platform image. I can cobble something together in ko to do this instead, but it might take a minute.

jonjohnsonjr avatar Feb 11 '19 17:02 jonjohnsonjr