Dev Container
No Change
adopt
Dev Container. (devcontainer.json + image) define a reproducible dev environment in OCI: toolchain, extensions, and settings live in the repo instead of on each laptop.
Blurb
Development containers documentation and specification page.
Summary
Garden stance: We adopt Dev Container for our estate.
Key points:
| Topic | Notes |
|---|---|
| Secrets | Use env files or secret mounts; never bake credentials into the image |
| Performance | Mount workspace with delegated volumes on macOS; cache package dirs |
| CI | Build/test inside the same Dockerfile in GitHub Actions |
| Agents | Cursor / cursor-agent run inside the container when the editor attaches |
| IaC link | Treat the dev image like Declarative IaC for the toolchain |
References
Details
| Topic | Notes |
|---|---|
| Secrets | Use env files or secret mounts; never bake credentials into the image |
| Performance | Mount workspace with delegated volumes on macOS; cache package dirs |
| CI | Build/test inside the same Dockerfile in GitHub Actions |
| Agents | Cursor / cursor-agent run inside the container when the editor attaches |
| IaC link | Treat the dev image like Declarative IaC for the toolchain |
References