Lifecycle
Lifecycle
The lifecycle type defines how the application droplet is created and run. The following lifecycle types are supported: - buildpack: Traditional buildpacks for Cloud Foundry applications. - cnb: Cloud Native Buildpacks that are OCI-compliant. - docker: Run pre-built Docker images.
JSON Example
{
"type": "string",
"data": {
"buildpacks": [
"string"
],
"stack": "string",
"credentials": {
"credentials": {
"username": "string",
"password": "string",
"token": "string"
}
}
}
}
string
type
Optional
Type of the lifecycle; valid values are buildpack, cnb, docker
object
data
Optional
Data specific to the lifecycle