build(devcontainer): install tea cli and mount the signing key #26

Merged
TJC merged 4 commits from chore/devcontainer-tea into main 2026-08-18 10:40:03 +01:00
Collaborator

Summary

  • track devcontainer-lock.json, pinning node and claude-code-passthrough to resolved digests
  • install tea 0.15.0 from a per-arch download verified against a pinned sha256
  • register the tea login in post-create from GITEA_SERVER_URL and GITEA_SERVER_TOKEN, so a rebuild does not lose it and the token stays out of any tracked file
  • bind-mount the commit signing key at its host path, so the global user.signingkey needs no container-specific override
  • postCreateCommand moves into post-create.sh now that it does more than pnpm install

Test plan

  • rebuilt the container: tea --version reports 0.15.0 and tea logins list shows the ai login
  • git log --format=%G? reports G for all three commits on this branch
  • sha256sum -c gates the install; a mismatch fails post-create
## Summary - track `devcontainer-lock.json`, pinning node and claude-code-passthrough to resolved digests - install tea 0.15.0 from a per-arch download verified against a pinned sha256 - register the tea login in post-create from `GITEA_SERVER_URL` and `GITEA_SERVER_TOKEN`, so a rebuild does not lose it and the token stays out of any tracked file - bind-mount the commit signing key at its host path, so the global `user.signingkey` needs no container-specific override - `postCreateCommand` moves into `post-create.sh` now that it does more than `pnpm install` ## Test plan - rebuilt the container: `tea --version` reports 0.15.0 and `tea logins list` shows the `ai` login - `git log --format=%G?` reports `G` for all three commits on this branch - `sha256sum -c` gates the install; a mismatch fails post-create
- pins node and claude-code-passthrough to resolved digests
- the forge is forgejo; tea is how issues and PRs get created
- pinned per-arch sha256, verified before install
- postCreateCommand moves into a script now that it does more than pnpm install
- bind the commit signing key at its host path so commits stay verified
- a rebuild discards ~/.config/tea, so post-create re-adds the login
- GITEA_SERVER_URL and GITEA_SERVER_TOKEN come in via containerEnv
- tea reads both directly, keeping the token out of any tracked file
TJC merged commit 3c3d8d9538 into main 2026-08-18 10:40:03 +01:00
TJC deleted branch chore/devcontainer-tea 2026-08-18 10:40:03 +01:00
Sign in to join this conversation.
No reviewers
No labels
chore
core
render
ui
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
TJC/daily-planner-template!26
No description provided.