Skip to content

Commit 4643b74

Browse files
committed
feat: add Dockerfile analysis for build command detection
Changes: -Function find_dockerfile_from_job: handles finding Dockerfile inside workflow in 2 cases of workflow jobs: -run and -uses. -Simple DockerNode class, so far it stores mainly the dockerfile path retrieved from workflow -Parsing Dockerfile using dockerfile-parse and RUN instruction commands using bashparser.py Signed-off-by: Achraf Maghous <achraf.maghous@oracle.com>
1 parent b83c668 commit 4643b74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ dependencies = [
3636
"cyclonedx-python-lib[validation] >=7.3.4,<8.0.0",
3737
"beautifulsoup4 >= 4.12.0,<5.0.0",
3838
"problog >= 2.2.6,<3.0.0",
39-
"dockerfile-parse"
39+
"dockerfile-parse >= 2.0.1"
4040
]
4141
keywords = []
4242
# https://pypi.org/classifiers/
@@ -78,7 +78,7 @@ dev = [
7878
"pylint >=3.0.3,<4.0.0",
7979
"cyclonedx-bom >=4.0.0,<5.0.0",
8080
"types-beautifulsoup4 >= 4.12.0,<5.0.0",
81-
"types-dockerfile-parse"
81+
"types-dockerfile-parse >= 2.0.0"
8282
]
8383
docs = [
8484
"sphinx >=8.0.0,<9.0.0",

0 commit comments

Comments
 (0)