feat: Allow cloning repositories via SSH (#961)
* drop redundant git install * add ssh-client and ca-certs to Dockerfile to allow repo indexing via ssh * move ssh-client installation * update documentation to reflect change * add space back in * Update configuration.md * Update configuration.md --------- Co-authored-by: christian <christian@thoughtmachine.net> Co-authored-by: Meng Zhang <meng@tabbyml.com>support-auth-token
parent
9aed0dee08
commit
77eda8431c
|
|
@ -45,6 +45,8 @@ FROM ${BASE_CUDA_RUN_CONTAINER} as runtime
|
|||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends \
|
||||
git \
|
||||
openssh-client \
|
||||
ca-certificates \
|
||||
&& \
|
||||
apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ To enable repository level context for code completion, you can add the followin
|
|||
git_url = "https://github.com/TabbyML/tabby.git"
|
||||
|
||||
[[repositories]]
|
||||
git_url = "https://github.com/OpenNMT/CTranslate2.git"
|
||||
git_url = "git@github.com:OpenNMT/CTranslate2.git"
|
||||
```
|
||||
|
||||
Once this is set, you can run `tabby scheduler` to index the source code repository.
|
||||
|
|
|
|||
Loading…
Reference in New Issue