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.
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
Update packages with vulnerability #7951
Update packages with vulnerability #7951
Changes from 15 commits
702ec2d
d359b23
3a5f4ed
3cac8c1
211976a
609aa67
34fae02
dfb28f6
b03a6a5
d960149
901b66a
2fcdafa
1cb5f96
f2db109
6351661
9cf8220
50c5cd2
100193a
cfd2845
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider explicitly tagging the base image version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tip
Codebase Verification
The old cache directory
/root/.cache/pip/http
is still present in the Dockerfile. Please update all instances to use the new cache directory/root/.cache/pip/http-v2
./root/.cache/pip/http
to/root/.cache/pip/http-v2
.Analysis chain
Ensure the new cache directory
http-v2
is correctly used in all relevantRUN
commands.Also applies to: 81-81
Scripts Executed
The following scripts were executed for the analysis:
Script:
Length of output: 79
Script:
Length of output: 227
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use
WORKDIR
instead ofcd
for changing directories to improve readability and maintainability of the Dockerfile.Committable suggestion
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Avoid using the cache directory with pip and pin versions to ensure reproducibility and security.
Also applies to: 168-168, 169-169