Skip to content

Commit

Permalink
update dockerfile to install ort python scanning pre-reqs
Browse files Browse the repository at this point in the history
Signed-off-by: MarkAckert <mark.ackert@broadcom.com>
  • Loading branch information
MarkAckert committed Dec 2, 2024
1 parent 923c274 commit c4fc1d3
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .dockerfiles/ort.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ RUN ./gradlew installDist
# RUN unzip ort.zip
ENV PATH=/home/build/ort/cli/build/install/ort/bin:$PATH

RUN pip install git+https://github.com/aboutcode-org/python-inspector --break-system-packages
RUN pip install setuptools --break-system-packages

WORKDIR /home/build

ENTRYPOINT [ "tail", "-f", "/dev/null" ]
Expand Down
30 changes: 30 additions & 0 deletions licenses/dependency-scan/resources/repoRules.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,36 @@
}
},
"zowe-cli": {
"excludes": {
"paths": [
{
"pattern": "**/__tests__/**",
"reason": "TEST_OF",
"comment": "test cases"
}
]
}
},
"zowe-client-python-sdk": {
"excludes": {
"paths": [
{
"pattern": "samples/**",
"reason": "EXAMPLE_OF",
"comment": "Sample project"
},
{
"pattern": "docs/**",
"reason": "EXAMPLE_OF",
"comment": "project documentation"
},
{
"pattern": "tests/**",
"reason": "TEST_OF",
"comment": "test cases"
}
]
}
},
"zowe-explorer-vscode": {
"excludes": {
Expand Down

0 comments on commit c4fc1d3

Please sign in to comment.