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
Copy file name to clipboardExpand all lines: README.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,10 +19,11 @@ Build development environments from a Dockerfile on Docker, Kubernetes, and Open
19
19
20
20
## Getting Started
21
21
22
-
The easiest way to get started is by running the `envbuilder` Docker container that clones a repository, builds the image from a Dockerfile, and runs the `$ENVBUILDER_INIT_SCRIPT` in the freshly built container.
23
-
24
-
> **Note**: The `/tmp/envbuilder` directory persists demo data between commands. You can choose a different directory if needed.
22
+
The easiest way to get started is by running the `envbuilder` Docker container that clones a repository specified by `ENVBUILDER_GIT_URL`, builds the image from a Dockerfile or `devcontainer.json`, and runs the `$ENVBUILDER_INIT_SCRIPT` in the freshly built container.
25
23
24
+
> **Tips**:
25
+
> - The `/tmp/envbuilder` directory persists demo data between commands. You can choose a different directory if needed.
26
+
> - To clone a different branch, you append it to `ENVBUILDER_GIT_URL` in the form `#refs/heads/my-branch`. For example: `https://github.com/coder/envbuilder-starter-devcontainer#refs/heads/boring-prompt`.
Copy file name to clipboardExpand all lines: docs/env-variables.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,7 @@
27
27
|`--git-url`|`ENVBUILDER_GIT_URL`|| The URL of a Git repository containing a Devcontainer or Docker image to clone. This is optional. |
28
28
|`--git-clone-depth`|`ENVBUILDER_GIT_CLONE_DEPTH`|| The depth to use when cloning the Git repository. |
29
29
|`--git-clone-single-branch`|`ENVBUILDER_GIT_CLONE_SINGLE_BRANCH`|| Clone only a single branch of the Git repository. |
30
+
|`--git-clone-thinpack`|`ENVBUILDER_GIT_CLONE_THINPACK`|`true`| Git clone with thin pack compatibility enabled, ensuring that even when thin pack compatibility is activated,it will not be turned on for the domain dev.zaure.com. |
30
31
|`--git-username`|`ENVBUILDER_GIT_USERNAME`|| The username to use for Git authentication. This is optional. |
31
32
|`--git-password`|`ENVBUILDER_GIT_PASSWORD`|| The password to use for Git authentication. This is optional. |
32
33
|`--git-ssh-private-key-path`|`ENVBUILDER_GIT_SSH_PRIVATE_KEY_PATH`|| Path to an SSH private key to be used for Git authentication. If this is set, then GIT_SSH_PRIVATE_KEY_BASE64 cannot be set. |
0 commit comments