FROM | Dockerfile
from Dockerfile
FROM Dockerfile
どのイメージを起点に使うか。公式イメージ(dockerリポジトリなり, 他の..
複数のFROM
Dockerfileのコードイメージ
FROM xxxx as builder して
...
COPY --from=builder /zzz . builderとして作ったところから必要なものだけをCOPYする
参考
Cloud Run サービス内の gcloud コマンドラインのチュートリアル  |  Cloud Run のドキュメント  |  Google Cloud
をみてたら、Goのimageと gcloudのSDKのimageを2段階?で
以下の説明が参考になる。
docker - Multiple FROMs - what it means - Stack Overflow
いろいろ説明がある
3つのFROMで作ると、
No, you can't. If you do that, you will end up with four images, the three fruit images you pulled, plus the new image based on the last FROM image.
3つのbase imageと、最後のFROMのimageから(合成された?)imageができる。