Lifecycle

What is the lifecycle?

The lifecycle orchestrates buildpack execution, then assembles the resulting artifacts into a final app image.

Analyze

Restores files that buildpacks may use to optimize the build and export phases.

Detect

Finds an ordered group of buildpacks to use during the build phase.

Restore

Restores layers from the cache.

Build

Transforms application source code into runnable artifacts that can be packaged into a container.

Export

Creates the final OCI image.

Create

Runs analyze, detect, restore, build, and export in a single command.

Launch

The entrypoint for the final OCI image. Responsible for launching application processes.

Rebase

Rebase application layers onto a new run image.