Skip to content

Commit

Permalink
fix: try to run SCA with root user
Browse files Browse the repository at this point in the history
  • Loading branch information
remie committed Dec 15, 2024
1 parent a45c42f commit 49ea087
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/apt/helpers/generateSCAReport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ export const generateSCAReport = async (options: TAPTSCAOptions) => {
[
'run',
`--pull=always`,
'-u', '0:0',
'-e', 'user=root',
'-v', `${file}:/src/${basename(file)}`,
'-v', `${options.outputDir}:/report`,
'owasp/dependency-check',
Expand Down

0 comments on commit 49ea087

Please sign in to comment.