buildpacks / lifecycle

Reference implementation of the Cloud Native Buildpacks lifecycle
https://buildpacks.io
Apache License 2.0
185 stars 103 forks source link

When a buildpack declares distro information, but a base image does not, consider it not a match #1348

Closed natalieparellano closed 2 months ago

natalieparellano commented 2 months ago

Summary

Fixes https://github.com/buildpacks/lifecycle/issues/1337

Release notes

The lifecycle, when determining if a base image satisfies target constraints declared by a buildpack, fails if the buildpack declares distro information but the base image does not (fixes spec compliance)


Related

Resolves #1337


Context