builder.toml has a [stack] key which doesn't make sense in a post stack world (docs). However the new key name and the structure of this field are yet to be determined.
builder.toml has current schema:
# Stack that will be used by the builder
[stack]
id = "io.buildpacks.samples.stacks.bionic"
# This image is used at runtime
run-image = "cnbs/sample-stack-run:bionic"
run-image-mirrors = ["mirror1", "mirror2"]
# This image is used at build-time
build-image = "cnbs/sample-stack-build:bionic"
This feeds into /cnb/stack.toml in the created builder with schema:
[run-image]
image = "cnbs/sample-stack-run:bionic"
run-image-mirrors = ["mirror1", "mirror2"]
Proposed schema for builder.toml:
[run]
# Runtime images - first element is the default, later elements may be selected by run image extensions
[[run.images]]
image = "cnbs/some-run-image"
mirrors = ["mirror1", "mirror2"]
[build]
# This image is used at build-time
image = "cnbs/some-build-image"
This should feed into /cnb/run.toml in the created builder with schema:
[[images]]
image = "cnbs/some-run-image"
mirrors = ["mirror1", "mirror2"]
builder.tomlhas a[stack]key which doesn't make sense in a post stack world (docs). However the new key name and the structure of this field are yet to be determined.builder.toml has current schema:
This feeds into /cnb/stack.toml in the created builder with schema:
Proposed schema for builder.toml:
This should feed into /cnb/run.toml in the created builder with schema: