File tree 1 file changed +21
-0
lines changed
1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,27 @@ Exit the container, and re-run the `docker run` command... after the build compl
53
53
> If you need to bypass this behavior for any reason, you can bypass this safety check by setting
54
54
> ` ENVBUILDER_FORCE_SAFE=true ` .
55
55
56
+ ## Usage with Coder
57
+
58
+ Coder provides sample
59
+ [ Docker] ( https://github.com/coder/coder/tree/main/examples/templates/devcontainer-docker )
60
+ and
61
+ [ Kubernetes] ( https://github.com/coder/coder/tree/main/examples/templates/devcontainer-kubernetes )
62
+ templates for use with Envbuilder. You can import these templates and modify them to fit
63
+ your specific requirements.
64
+
65
+ Below are some specific points to be aware of when using Envbuilder with a Coder
66
+ deployment:
67
+
68
+ - The ` ENVBUILDER_INIT_SCRIPT ` should execute ` coder_agent.main.init_script ` in
69
+ order for you to be able to connect to your workspace.
70
+ - In order for the Agent init script to be able to fetch the agent binary from
71
+ your Coder deployment, the resulting Devcontainer must contain a download tool
72
+ such as ` curl ` , ` wget ` , or ` busybox ` .
73
+ - ` CODER_AGENT_TOKEN ` should be included in the environment variables for the
74
+ Envbuilder container. You can also set ` CODER_AGENT_URL ` if required.
75
+
76
+
56
77
### Git Branch Selection
57
78
58
79
Choose a branch using ` ENVBUILDER_GIT_URL ` with a _ ref/heads_ reference. For instance:
You can’t perform that action at this time.
0 commit comments