cyclonedx-cli
cyclonedx-cli copied to clipboard
bin folder is not being displayed in the given github repo
Not able to run the given dockerfile, after cloning the repo as I am getting below error message.
"COPY failed: file not found in build context or excluded by .dockerignore: stat bin/linux-x64/cyclonedx: file does not exist"
It is clear that '/bin/linux-x64/cyclonedx' path or folders are not present in the repo. Do we have any work around for this?
You first need to build the binary locally.
This can be achieved by running
dotnet publish src/cyclonedx/cyclonedx.csproj -r linux-x64 --configuration Release --self-contained true /p:PublishSingleFile=true /p:IncludeNativeLibrariesInSingleFile=true /p:IncludeNativeLibrariesForSelfExtract=true --output bin/linux-x64
or downloading the Linux x64 binary of the latest release and saving it to that path.