The Art of Multistage OCI Image Build

GauravGaurav
1 min read

What is Multistage OCI Image Build?

To create optimized and smaller container images by separating the build environment from the runtime environment within a single containerfile.

Buildah to Rescue!

Buildah is opensource Build tool used to build OCI(Open Container Initiative) compliant images.

Below diagram describes a simplified flow that uses Buildah Github Actions to build and push OCI compliant images to Image registry in this case Google Artifactory Registry.

Link to Repository: https://github.com/iamgp21/capstone-containerization

1
Subscribe to my newsletter

Read articles from Gaurav directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Gaurav
Gaurav