Cdxgen tool not working in docker #823
Unanswered
Varsha-lalwani
asked this question in
Q&A
Replies: 2 comments 3 replies
-
@Varsha-lalwani, I think the error message is clear. The image needs to be pulled manually before invoking cdxgen. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@prabhu Is there any plans that cdxgen will pull image itself? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a go plugin where I already have syft to generate sbom, and I am adding cdxgen as well.
I have installed cdxgen using this RUN npm install -g @cyclonedx/cdxgen@9.11.1
While the tool works perfectly fine in my local, when I am creating docker image and running it, I am getting this output and it is not creating the sbom file.
It says it's not able to pull the image while syft is able to pull fine. ANy suggesstions?
Also the other thing I noticed is that cdxgen is not able to create the directory if the path is absent
Beta Was this translation helpful? Give feedback.
All reactions