What happens during build?

Build is the process of executing one or more buildpacks against an application’s source code to produce a runnable OCI image.

Building explained

build diagram

Each buildpack inspects the source code and provides relevant dependencies. An image is then generated from the app’s source code and these dependencies.

During the build process, the build-time base image becomes the environment in which buildpacks are executed, and the runtime base image becomes the base for the final app image.

Buildpacks can be bundled together with a specific build-time base image, resulting in a builder image. Builders provide a convenient way to distribute buildpacks.