You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build-time base image config should match runtime base image config. Buildpack.toml should match both of these.
If an (older) buildpack does not declare target data in buildpack.toml BUT it sets stacks.id = "io.buildpacks.stacks.bionic, pack should assume the following values:
[[targets]]
os = "linux"
arch = "x86_64"
[[targets.distributions]]
name = "ubuntu"
versions = ["18.04"]
If the build-time or runtime base is missing target data but the image contains the label io.buildpacks.stack.id with value io.buildpacks.stacks.bionic, pack should assume the following values:
run-image.target.os = "linux"
run-image.target.arch = "x86_64"
run-image.target.distribution.name = "ubuntu"
run-image.target.distribution.version = "18.04"
The text was updated successfully, but these errors were encountered:
Today, mixin validation is done by
pack
both at the time of builder creation and at build time.For Platform API
0.12
and greater, we should replace mixin validation with target data validation. Namely,In buildpack.toml:
In image config:
os
architecture
variant
(if specified)Build-time base image config should match runtime base image config. Buildpack.toml should match both of these.
If an (older) buildpack does not declare target data in
buildpack.toml
BUT it setsstacks.id = "io.buildpacks.stacks.bionic
, pack should assume the following values:If the build-time or runtime base is missing target data but the image contains the label
io.buildpacks.stack.id
with valueio.buildpacks.stacks.bionic
, pack should assume the following values:The text was updated successfully, but these errors were encountered: