File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -113,6 +113,13 @@ def bom_pipdeptree(self):
113113 if "graviton" in self .dlc_repository or "arm64" in self .dlc_repository :
114114 self .get_container_command_output ("python3 -m pip install pipdeptree" )
115115 return self .get_container_command_output ("python3 -m pipdeptree" )
116+ elif "triton" in self .dlc_repository :
117+ self .get_container_command_output ("apt remove -y python3-pip" )
118+ self .get_container_command_output (
119+ "curl -s https://bootstrap.pypa.io/get-pip.py | python3"
120+ )
121+ self .get_container_command_output ("python3 -m pip install pipdeptree" )
122+ return self .get_container_command_output ("python3 -m pipdeptree" )
116123 else :
117124 self .get_container_command_output ("pip install pipdeptree" )
118125 return self .get_container_command_output ("pipdeptree" )
You can’t perform that action at this time.
0 commit comments