-
Notifications
You must be signed in to change notification settings - Fork 14
Description
Describe the Enhancement
Builds with this buildpack should be reproducible, meaning given identical inputs, the SHAs of resulting buildpack-built images are the same. This means, for a given app, if I run:
pack build my-app -b paketo-buildpacks/python
and then run
pack build my-app-copy -b paketo-buildpacks/python
with the same source code and configurations, the resulting image SHAs should be the same.
Currently, builds are not reproducible because of SBOMs included in the final app image. See paketo-buildpacks/packit#367 and paketo-buildpacks/packit#368. But once those issues are resolved and a new version of packit has been released, we should expect that the buildpack builds are reproducible.
Possible Solution
Add assertions to integration tests that show that two builds with the same inputs produce identical outputs.
Motivation
Build reproducibility is a selling point of CNBs that we want to provide to Paketo buildpack users. We want to know if future implementation decisions compromise build reproducibility.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status