-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(docs): s/ENVBUILDER_GIT_SSH_KEY_PATH/ENVBUILDER_GIT_SSH_PRIVATE…
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -176,7 +176,7 @@ resource "docker_container" "dev" { | |
If `ENVBUILDER_GIT_URL` does not start with `http://` or `https://`, | ||
envbuilder will assume SSH authentication. You have the following options: | ||
|
||
1. Public/Private key authentication: set `ENVBUILDER_GIT_SSH_KEY_PATH` to the path of an | ||
1. Public/Private key authentication: set `ENVBUILDER_GIT_SSH_PRIVATE_KEY_PATH` to the path of an | ||
SSH private key mounted inside the container. Envbuilder will use this SSH | ||
key to authenticate. Example: | ||
|
||
|
@@ -185,7 +185,7 @@ envbuilder will assume SSH authentication. You have the following options: | |
-v /tmp/envbuilder:/workspaces \ | ||
-e [email protected]:path/to/private/repo.git \ | ||
-e ENVBUILDER_INIT_SCRIPT=bash \ | ||
-e ENVBUILDER_GIT_SSH_KEY_PATH=/.ssh/id_rsa \ | ||
-e ENVBUILDER_GIT_SSH_PRIVATE_KEY_PATH=/.ssh/id_rsa \ | ||
-v /home/user/id_rsa:/.ssh/id_rsa \ | ||
ghcr.io/coder/envbuilder | ||
``` | ||
|