whitesource-ps / ws-sbom-generator

WS SBOM Report Generator in SPDX or CycloneDX format
Apache License 2.0
31 stars 7 forks source link

[BUG] [ws-sbom-generator] /bin/sh: 1: sbom_generator: not found when running using Docker container #55

Closed hvincentwss closed 2 years ago

hvincentwss commented 2 years ago

Bug Description
When running the sbom generator using docker I get the following error: /bin/sh: 1: sbom_generator: not found

Steps to Reproduce
Steps to reproduce the behavior:

  1. Pull latest Docker image
  2. Run: docker run --name ws-sbom-generator -v C:\Users\HannaVincent\Desktop\Cases\SBOM\test1:/opt/ws-sbom-generator/sbom-generator/output -e WS_USER_KEY= -e WS_TOKEN= -e WS_SCOPE= whitesourcetools/ws-sbom-generator

Expected Behavior
SBOM generator runs

Environment Details

tamari-oz commented 2 years ago

Hi, I fixed a bug in the Dockerfile. It should be fine in the next version (>0.3.7).

NatalyaDalid commented 2 years ago

Hi @hvincentwss, Please let us know if the issue is solved and can be closed.

Thanks, WhiteSource PS Team