You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will start an interactive shell in the container. The `-v ~/.ssh:/root/.ssh` flag mounts your host's SSH keys into the container, which is necessary for cloning private repositories.
30
+
31
+
### Cloning a Repository
32
+
33
+
The `entrypoint.sh` script will automatically clone a git repository when the container starts. You can customize the repository, branch, and provider using the following environment variables:
34
+
35
+
*`git_repo`: The repository to clone. Defaults to `AnySoftKeyboard/AnySoftKeyboard`.
36
+
*`git_brach`: The branch to clone. Defaults to `main`.
37
+
*`git_provider`: The git provider. Defaults to `github.com`.
38
+
39
+
For example, to clone a different repository, you can run the following command:
40
+
41
+
```bash
42
+
docker run -it -v ~/.ssh:/root/.ssh -e git_repo="my-repo/my-project" -e git_brach="main" menny/android_dev:latest
0 commit comments