[dev/tooling]: add basic devcontainer setup w/ node, pnpm, go, nix & recommended tools

Add a development container for contributors and document how to use it.

- Add .devcontainer/devcontainer.json
- Add .devcontainer/Dockerfile
- Update docs/CONTRIBUTING.md with Dev Container section

- devcontainer.json parses successfully and opens in vscode without issues
- all build.sh variants, recommended tools & lint/typecheck run without issues

Closes #499
This commit is contained in:
Lukas Wolfsteiner
2026-03-15 18:25:27 +00:00
parent a26faab139
commit f0df663c90
3 changed files with 68 additions and 0 deletions
+17
View File
@@ -55,3 +55,20 @@ If you plan to work with the WASM SSH agent, you will need to install
`mkcert` or an equivalent to create certificates in `./test/caddy/certs`.
It expects a `localhost.pem` and `localhost-key.pem` file to be present in that
directory. PNPM has a script to do it with `pnpm mkcert` already already.
### Development Container
This repository includes a Dev Container setup in `./.devcontainer` with:
- Node.js
- PNPM
- Go
- Nix
- `mkcert` and related local certificate tooling
Open the repository in VS Code (or any Dev Container compatible editor) and
start the container. On first creation, dependencies are installed automatically
with `pnpm install`.
The base image is Debian (instead of Alpine) to keep compatibility with common
official Dev Container features used by this project (Node, Go, and Docker).