ort docker Scanner fails resolving provenance but ort built from sources doesn't #6699
-
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
and with docker built with this instructions
with the version of ort built from sources it generates correctly the
Any clue why the docker version fails? CC: @dgutson |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
I guess this is because inside Docker the credentials for your private repo are unknown, whereas on your host machine your probably have set up Git so that it can clone from that private repo. |
Beta Was this translation helpful? Give feedback.
-
@sschuberth do you mean setting up a .netrc file like in the instructions or setting up an .ssh key? |
Beta Was this translation helpful? Give feedback.
-
@qequ is just setting the .netrc file correctly. Already fixed |
Beta Was this translation helpful? Give feedback.
@qequ is just setting the .netrc file correctly. Already fixed