Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
chore: add envbuilder-dogfood template
  • Loading branch information
johnstcn committed Jun 28, 2024
commit e69cbb1a050a0a274357c7c203e88417afd67bfb
16 changes: 16 additions & 0 deletions envbuilder-dogfood/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# envbuilder dogfood template

This template uses the same image as the [dogfood](../dogfood) template, but
builds it on-demand using the latest _preview_ version of [envbuilder](https://github.com/coder/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](../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`.

Loading