Back to Buildpacks

Create

content/docs/for-platform-operators/concepts/lifecycle/create.md

latest1.5 KB
Original Source

+++ title="Create" weight=6 +++

The creator runs analyze, detect, restore, build, and export in a single command.

<!--more-->

The platform must execute creator in the build environment. An image reference (i.e., <previous-image>) to be analyzed is one of the creator's inputs.

  • If <skip-restore> is true the creator shall skip the restoration of any data to each buildpack's layers directory, with the exception of store.toml.
  • If the platform provides one or more <tag> inputs they shall be treated as additional <image> inputs to the exporter

Exit Codes

The outputs produced by creator are identical to those produced by exporter, with the following additional expanded set of error codes.

Exit CodeResult
0Success
11Platform API incompatibility error
12Buildpack API incompatibility error
1-10, 13-19Generic lifecycle errors
20-29Detection-specific lifecycle errors
30-39Analysis-specific lifecycle errors
40-49Restoration-specific lifecycle errors
50-59Build-specific lifecycle errors
60-69Export-specific lifecycle errors

For more information about the creator, see the Platform API spec.