Chapter 7: Integrating with Existing Application Build Processes
After learning how to create custom container images using Podman and Buildah, we can now focus on special use cases that can make our build workflows more efficient and portable. For instance, small images are a very common requirement in an enterprise environment, for performance and security reasons. We will explore how to achieve this goal by breaking down the build process into different stages.
This chapter will also try to uncover scenarios where Buildah is not expected to run directly on a developer machine but is driven instead by a container orchestrator or embedded inside custom applications that are expected to call its libraries or command line interface (CLI).
In this chapter, we're going to cover the following main topics:
- Multistage container builds
- Running Buildah inside a container
- Integrating Buildah with custom builders