Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[container] Unable to generate SBOM for elasticsearch:7.2.1 #1037

Closed
prabhu opened this issue May 3, 2024 · 0 comments · Fixed by #1036
Closed

[container] Unable to generate SBOM for elasticsearch:7.2.1 #1037

prabhu opened this issue May 3, 2024 · 0 comments · Fixed by #1036
Labels
bug Something isn't working

Comments

@prabhu
Copy link
Collaborator

prabhu commented May 3, 2024

a34076e

Multiple bugs resolved:

  • distro_codename was empty, so some patching operations of bom-ref and purl wasn't performed
  • Presence of epoch in the purl was causing validation failures
  • Many directories in the image were problematic and did not get extracted correctly
  • Post extraction, the temp directory was getting deleted even before the jar files got parsed correctly.
@prabhu prabhu added the bug Something isn't working label May 3, 2024
prabhu added a commit that referenced this issue May 3, 2024
Signed-off-by: Prabhu Subramanian <[email protected]>
@prabhu prabhu linked a pull request May 3, 2024 that will close this issue
prabhu added a commit that referenced this issue May 4, 2024
* Use node 22 via nvm in docker. Enable NODE_COMPILE_CACHE

Signed-off-by: Prabhu Subramanian <[email protected]>

* Update packages

Signed-off-by: Prabhu Subramanian <[email protected]>

* Fixes #1037

Signed-off-by: Prabhu Subramanian <[email protected]>

* Of course on GitHub every workflow would fail with out of disk space

Signed-off-by: Prabhu Subramanian <[email protected]>

* Tweaks

Signed-off-by: Prabhu Subramanian <[email protected]>

* Update docker compose. Regenerate types

Signed-off-by: Prabhu Subramanian <[email protected]>

---------

Signed-off-by: Prabhu Subramanian <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant