fix(ci): replace oraclelinux base image with debian bookworm-slim#532
Merged
fix(ci): replace oraclelinux base image with debian bookworm-slim#532
Conversation
Switch Docker base from oraclelinux:9-slim to debian:bookworm-slim to resolve CRITICAL/HIGH CVEs detected by Trivy scanner. Remove unnecessary packages (systemd-sysv, pkg-config, libssl-dev). Pin trivy-action to v0.34.0 for reproducible CI runs. Closes #531
With format=sarif, trivy-action builds report with all severities regardless of severity filter, causing exit-code 1 on LOW/MEDIUM findings. Add limit-severities-for-sarif to restrict exit-code check to CRITICAL/HIGH only.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
oraclelinux:9-slimwithdebian:bookworm-slimin bothDockerfileandDockerfile.devto eliminate CRITICAL/HIGH CVEs detected by Trivysystemd-sysv,pkg-config,libssl-dev(project uses rustls)trivy-actiontov0.34.0instead of@masterTest plan
Closes #531