WIP - Feature Improve Build Determinism, Major Dependency Updates and Security Patches #42
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Upgrade the terrarium dev container to an EL9 base and enforce deterministic builds. Python is managed with pyenv + uv (with pyproject.toml and uv.lock), Ruby and Bundler are pinned and installed in frozen mode, and we’ve expanded Bats tests to guard core tooling (Python, Azure/AWS/Terraform, infra utils).
Core tools versions are also updated to get latest features and security patches etc.
What changed
Why
Deterministic builds reduce “works on my machine” issues and improve supply‑chain security. Pinning interpreters and dependencies (Python & Ruby) plus test coverage ensures the container remains reproducible as upstream repos evolve.
There were a large amount of critical and high security vulnerabilities detected in the trivvy security scan actions pipeline. This PR will hopefully significantly improve the security posture of the resultant Terrarium container.