buildpack/lifecycle

Reference implementation of the Cloud Native Buildpacks lifecycle

213

stars

1,575

commits

Go

primary language

Sep 10, 2026

updated

buildpacks.io
buildpacks
cloud-native-buildpacks
cncf

README

Lifecycle

Build Status GoDoc codecov CII Best Practices Gitpod ready-to-code

A reference implementation of the Cloud Native Buildpacks specification.

Supported APIs

Lifecycle VersionPlatform APIsBuildpack APIs
0.21.x0.7, 0.8, 0.9, 0.10, 0.11, 0.12, 0.13, 0.14, 0.150.7, 0.8, 0.9, 0.10, 0.11, 0.12
0.20.x0.7, 0.8, 0.9, 0.10, 0.11, 0.12, 0.13, 0.140.7, 0.8, 0.9, 0.10, 0.11
0.19.x0.7, 0.8, 0.9, 0.10, 0.11, 0.12, 0.130.7, 0.8, 0.9, 0.10, 0.11
0.18.x0.7, 0.8, 0.9, 0.10, 0.11, 0.120.7, 0.8, 0.9, 0.10
0.17.x0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0.10, 0.11, 0.120.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0.10
0.16.x0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0.10, 0.110.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9
0.15.x0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0.100.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9
0.14.x0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.90.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8
0.13.x0.3, 0.4, 0.5, 0.6, 0.7, 0.80.2, 0.3, 0.4, 0.5, 0.6, 0.7

* denotes unreleased version

Usage

Build

Either:

  • analyzer - Reads metadata from the previous image and ensures registry access.
  • detector - Chooses buildpacks (via /bin/detect) and produces a build plan.
  • restorer - Restores layer metadata from the previous image and from the cache, and restores cached layers.
  • builder - Executes buildpacks (via /bin/build).
  • exporter - Creates an image and caches layers.

Or:

  • creator - Runs the five phases listed above in order.

Run

  • launcher - Invokes a chosen process.

Rebase

  • rebaser - Creates an image from a previous image with updated base layers.

Contributing

  • CONTRIBUTING - Information on how to contribute and grow your understanding of the lifecycle.
  • DEVELOPMENT - Further detail to help you during the development process.
  • RELEASE - Further details about our release process.

Contributors

(top 30 of 71)

ekcasey

479 commits

jabrown85

319 commits

sclevine

129 commits

dependabot[bot]

119 commits

buildpack/lifecycle

Reference implementation of the Cloud Native Buildpacks lifecycle

213

stars

1,575

commits

Go

primary language

Sep 10, 2026

updated

buildpacks.io
buildpacks
cloud-native-buildpacks
cncf

README

Lifecycle

Build Status GoDoc codecov CII Best Practices Gitpod ready-to-code

A reference implementation of the Cloud Native Buildpacks specification.

Supported APIs

Lifecycle VersionPlatform APIsBuildpack APIs
0.21.x0.7, 0.8, 0.9, 0.10, 0.11, 0.12, 0.13, 0.14, 0.150.7, 0.8, 0.9, 0.10, 0.11, 0.12
0.20.x0.7, 0.8, 0.9, 0.10, 0.11, 0.12, 0.13, 0.140.7, 0.8, 0.9, 0.10, 0.11
0.19.x0.7, 0.8, 0.9, 0.10, 0.11, 0.12, 0.130.7, 0.8, 0.9, 0.10, 0.11
0.18.x0.7, 0.8, 0.9, 0.10, 0.11, 0.120.7, 0.8, 0.9, 0.10
0.17.x0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0.10, 0.11, 0.120.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0.10
0.16.x0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0.10, 0.110.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9
0.15.x0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0.100.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9
0.14.x0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.90.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8
0.13.x0.3, 0.4, 0.5, 0.6, 0.7, 0.80.2, 0.3, 0.4, 0.5, 0.6, 0.7

* denotes unreleased version

Usage

Build

Either:

  • analyzer - Reads metadata from the previous image and ensures registry access.
  • detector - Chooses buildpacks (via /bin/detect) and produces a build plan.
  • restorer - Restores layer metadata from the previous image and from the cache, and restores cached layers.
  • builder - Executes buildpacks (via /bin/build).
  • exporter - Creates an image and caches layers.

Or:

  • creator - Runs the five phases listed above in order.

Run

  • launcher - Invokes a chosen process.

Rebase

  • rebaser - Creates an image from a previous image with updated base layers.

Contributing

  • CONTRIBUTING - Information on how to contribute and grow your understanding of the lifecycle.
  • DEVELOPMENT - Further detail to help you during the development process.
  • RELEASE - Further details about our release process.

Contributors

(top 30 of 71)

ekcasey

479 commits

jabrown85

319 commits

sclevine

129 commits

dependabot[bot]

119 commits

Languages

Go

99.0%