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

Determinism in image dependencies #4543

Open
bdovaz opened this issue Jan 19, 2025 · 3 comments
Open

Determinism in image dependencies #4543

bdovaz opened this issue Jan 19, 2025 · 3 comments
Labels
enhancement New feature or request

Comments

@bdovaz
Copy link
Collaborator

bdovaz commented Jan 19, 2025

Right now, there are many linters that do not have the version of the dependency to install and instead install the latest version available at that time.

This goes against the determinism, security, traceability, etc... Because if you generate the image right now or in 5 minutes you can get completely different versions of dependencies.

In this series of PRs I am trying to partly solve this problem:

#4528 #4529 #4530 #4531 #4532 #4533 #4534 #4535 #4536 #4537 #4538 #4539 #4540 #4541 #4542

I have focused on:

  • sh scripts that used the master/main branch.
  • Docker images using “latest”.
  • Dotnet dependencies with no version set.

Still a lot of npm, pip, etc.... This can be done in a next phase after merge all those PRs.

cc @nvuillam @echoix

@bdovaz bdovaz added the enhancement New feature or request label Jan 19, 2025
@nvuillam
Copy link
Member

This will bring us closer and closer to the "My Own MegaLinter Flavor" project :)

It will even allow "My Own MegaLinter Flavor with the linter versions I want" thing 🥳

@bdovaz
Copy link
Collaborator Author

bdovaz commented Jan 21, 2025

@nvuillam the remaining PRs related to this issue are ready for review and merge.

@bdovaz
Copy link
Collaborator Author

bdovaz commented Jan 21, 2025

Once this is done, we should go for the apk/npm/pip dependencies.

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

No branches or pull requests

2 participants