Skip to content

Commit 9b36c3e

Browse files
gatezhclaude
andcommitted
fix(ci): daily rebuilds + docs update
- Schedule daily rebuild at 5am MT (11:00 UTC) with no-cache to pick up latest Claude Code and tool updates - Fix sandbox verify: use `which iptables` (nftables needs kernel module) - Update README: Playwright version, auto-rebuild docs, init-plugins wiring instructions Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent cc1dd66 commit 9b36c3e

2 files changed

Lines changed: 12 additions & 3 deletions

File tree

‎.github/workflows/build-claude-code.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
paths:
77
- "claude-code/.devcontainer/Dockerfile"
88
schedule:
9-
- cron: '0 6 * * 1'
9+
- cron: '0 11 * * *'
1010
workflow_dispatch:
1111

1212
permissions:

‎claude-code/README.md‎

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ Both variants are built for:
3838
- `:<git-sha>` — pinned to a specific commit
3939
- `:<YYYYMMDD>` — date-based tag (e.g., `20260319`)
4040

41+
## Automatic Rebuilds
42+
43+
The image rebuilds daily at 5am MT (11:00 UTC) with no Docker cache, picking up the latest Claude Code, Playwright, and other tools. Manual rebuilds can be triggered via the "Run workflow" button in the Actions UI.
44+
4145
## Quick Start
4246

4347
### Default variant
@@ -125,6 +129,11 @@ node = "22"
125129
### Optional: `.devcontainer/init-plugins.sh`
126130

127131
Claude Code plugin initialization. Runs once at container creation. Idempotent.
132+
Wire it into `postCreateCommand` in your `devcontainer.json`:
133+
134+
```jsonc
135+
"postCreateCommand": "bash .devcontainer/init-plugins.sh"
136+
```
128137

129138
```bash
130139
#!/bin/bash
@@ -204,7 +213,7 @@ If your project has additional services, create volume mounts in `devcontainer.j
204213

205214
## Playwright Version Strategy
206215

207-
The image bakes in a Playwright browser binary at a specific version (controlled by the `PLAYWRIGHT_VERSION` build arg).
216+
The image bakes in a Playwright browser binary at a specific version (controlled by the `PLAYWRIGHT_VERSION` build arg). Daily rebuilds keep this reasonably current.
208217

209218
- If your project's `@playwright/test` version **matches** the image — zero startup cost, browser is ready
210219
- If your project's version **differs** — Playwright auto-downloads the correct browser on first test run (~10s graceful fallback)
@@ -215,7 +224,7 @@ The image bakes in a Playwright browser binary at a specific version (controlled
215224
| Arg | Default | Description |
216225
|-----|---------|-------------|
217226
| `GIT_DELTA_VERSION` | `0.18.2` | git-delta version |
218-
| `PLAYWRIGHT_VERSION` | `1.50.1` | Playwright browser binary version |
227+
| `PLAYWRIGHT_VERSION` | `1.58.2` | Playwright browser binary version |
219228
| `AGENT_BROWSER_VERSION` | `0.14.0` | agent-browser version (default target only) |
220229

221230
## Building Locally

0 commit comments

Comments
 (0)