-
Notifications
You must be signed in to change notification settings - Fork 374
Closed
Closed
Copy link
Labels
dockerAbout Docker topicsAbout Docker topicsquestionAn issue that is actually a questionAn issue that is actually a questionscannerAbout the scanner toolAbout the scanner tool
Description
I'm testing running ort on a repo that is hosted privately in gitlab and I'm having issues when running two separate versions of the scanner; one running from the sources with
./cli/build/install/ort/bin/ort scan -i ~/private-repo/analyzer-result.yml -o ~/private-repo/
and with docker built with this instructions
docker run -v $PWD/:/project ort --info scan -i /project/output/analyzer-result.yml -o /project/output
with the version of ort built from sources it generates correctly the scan-result.yml but with docker it crashes and reports Provenance Errors, most of them are similar to;
Could not resolve provenance for package '...:': IOException: Could not resolve provenance for '...:' for source code origins [VCS, ARTIFACT].
Resolution of VCS failed with:
IOException: Could not resolve revision for package '....:' with VcsInfo(type=Git, url=https://gitlab.com/privateProject/privateRepo.git, revision=...., path=....):
Could not find any revision candidates for package '....:' with VcsInfo(type=Git, url=https://gitlab.com/privateProject/privateRepo.git, revision=....., path=...)
Any clue why the docker version fails?
CC: @dgutson
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
dockerAbout Docker topicsAbout Docker topicsquestionAn issue that is actually a questionAn issue that is actually a questionscannerAbout the scanner toolAbout the scanner tool