* Renames `dogfood/contents` to `dogfood/coder`. * Moves `coder-envbuilder` to `dogfood/coder-envbuilder`. * Updates `dogfood/main.tf` to push `coder-envbuilder` template. * Replaces hard-coded organization IDs with `data.coderd_organization.default.id`.
910 B
envbuilder dogfood template
This template uses the same image as the dogfood template, but builds it on-demand using the latest preview version of envbuilder.
In theory, it should work with any Git repository containing a devcontainer.json.
The Git repository specified by devcontainer_repo is cloned into /workspaces upon startup and the container is built from the devcontainer located under the path specified by devcontainer_dir.
The region parameters are the same as for the dogfood template.
The /workspaces directory is persisted as a Docker volume, so any changes you make to the dogfood Dockerfile or devcontainer.json will be applied upon restarting your workspace.
Personalization
The startup script runs your ~/personalize file if it exists.
You also have a persistent home directory under /home/coder.