Context
Sometimes it might be necessary to install a private repo into a Tesseract; this can be done in two steps
- Add the following line to
tesseract_requirements.txt
git+ssh://git@github.com/username/repo.git@branch
- Use
tesseract build --forward-ssh-agent
to grant the builder access to your SSH keys
A key thing to note is the difference between the format of the url in step 1 and the one available on GitHub under the green code button - git@github.com:pasteurlabs/tesseract-core
In order to use ssh in the format above, you would need to replace the :
after github.com
with a /
, i.e. git+ssh://git@github.com/pasteurlabs/tesseract-core
.