lifecycle v0.16.0-rc.1
Pre-release
Pre-release
lifecycle v0.16.0-rc.1
Prerequisites
The lifecycle runs as a normal user in a series of unprivileged containers. To export images and cache image layers, it requires access to a Docker daemon or Docker registry.
Install
Extract the .tgz file and copy the lifecycle binaries into a build stack base image. The build image can then be orchestrated by a platform implementation such as the pack CLI or tekton.
Lifecycle Image
An OCI image containing the lifecycle binaries is available at buildpacksio/lifecycle:0.16.0-rc.1
.
Breaking Changes
- Platform and buildpack APIs less than
0.7
are considered deprecated and will become unsupported as of July 1, 2023 (#974 by @natalieparellano)- The lifecycle will output warnings when deprecated APIs are accessed (warnings can be silenced by setting
CNB_DEPRECATION_MODE=quiet
) - For information about how to migrate, consult the migration guides
- The lifecycle will output warnings when deprecated APIs are accessed (warnings can be silenced by setting
Features
- The lifecycle ships with SBOM files describing the lifecycle and launcher binaries; when using platform API
0.11
or greater, SBOM files for the launcher are included in the exported image; SBOM files for the lifecycle can be downloaded by the platform before the build container exits (#944 by @omocquais-p) - When using platform API
0.11
or greater, platform operators can specify build time environment variables using the/cnb/config/env.build
directory (#962 by @samj1912) - The
detector
, when all buildpacks fail to detect, will print debug messages as info level to allow for easier debugging of failed builds (#975 by @natalieparellano) - When using platform API
0.11
or greater, the exporter accepts a-launcher-sbom
flag to allow platforms to provide their own SBOM files (#963 by @natalieparellano) - Updates go to version 1.19.4 (#973 by @natalieparellano)
- Updates dependencies (#978 by @natalieparellano)
Contributors
We'd like to acknowledge that this release wouldn't be as good without the help of the following amazing contributors:
@jabrown85, @jjbustamante, @natalieparellano, @omocquais-p, @samj1912