Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check build reproducibility across languages #10

Open
6 of 9 tasks
sophiewigmore opened this issue May 9, 2022 · 2 comments
Open
6 of 9 tasks

Check build reproducibility across languages #10

sophiewigmore opened this issue May 9, 2022 · 2 comments

Comments

@sophiewigmore
Copy link
Member

sophiewigmore commented May 9, 2022

Context

Recently, a user found that in some instances, multiple builds on the same source code produce images with different digests (see this thread). The user expected that the build would've produced the same image. This issue appears to have cropped up without our knowledge since we did not have language-family level tests for reproducibility. This latest occurrence may be related to the SBOM work we recently added.

Issue

We should perform an investigation across all of our language family buildpacks to determine the status of build reproducibility. For any buildpacks that do not produce reproducible images, we should file an issue to flag that and (hopefully) resolve it down the line. The issues file should include an outcome about adding a test at the language-test level.
Buildpacks to investigate:

@c0d1ngm0nk3y
Copy link

We tried this with a simple NodeJS based application and were able to reproduce the IMAGE_ID two weeks later, with the following information:

  • version of the application (package-lock.json used)
  • pack version
  • builder version
  • run image version

@sophiewigmore
Copy link
Member Author

sophiewigmore commented Oct 31, 2022

cc @paketo-buildpacks/nodejs-maintainers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants