在 Macbook Pro M3 使用 podman 建置 linux/amd64 image 會失敗

最近想要將一個小服務放上 GCP 的 Cloud Run,但 Cloud Run 只支援 linux/amd64 的 image(),所以在建置這個 image 的時候就必須要額外加上一個參數:--platform=linux/amd64。

Use podman to build linux/amd64 image failed on Macbook Pro M3

Lately, I’ve been trying to deploy a small service to GCP Cloud Run. But since Cloud Run only supports linux/amd64 images (), I need to add an extra parameter when building the image: --platform=linux/amd64.

Latest articles