Skip to content

pack stack suggest shows the same stack id twice #122

Answered by jromero
daxhuiberts asked this question in Q&A
Discussion options

You must be logged in to vote

The difference between both of the stacks listed with ID io.buildpacks.stacks.bionic are the mixins they provide.

You can see this by looking at the provided mixins of each image:

❯ crane config paketobuildpacks/build:full-cnb | jq -r '.config.Labels["io.buildpacks.stack.mixins"] | fromjson | .[]' | wc -l
     698

❯ crane config paketobuildpacks/build:base-cnb | jq -r '.config.Labels["io.buildpacks.stack.mixins"] | fromjson | .[]' | wc -l
     172

The idea behind this is that buildpacks can specific that they work on io.buildpacks.stacks.bionic but only if certain mixins are provided.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by natalieparellano
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants