Repository navigation
Commit db9312a
feat(ralphex-fe): rebuild from Alpine to Debian (#45)
* fix(claude-code): add missing bun install to sandbox postCreateCommand
- Without bun install, npx playwright fails due to npm 11 cache key
mismatch between versioned build-time and unversioned runtime lookups
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* feat: add quality-of-life settings to devcontainer configs
- updateRemoteUserUID, otherPortsAttributes (silent auto-forward)
- editor.formatOnSave + OXC default formatter with customization guide
- window.title for multi-window distinction, NODE_OPTIONS 4GB heap
- Sandbox: Claude Dark theme, coral status bar, skip permissions
- Plugins: frontend-design, typescript-lsp, playwright, posthog
- Firewall: allow OpenAI domains (auth, api, chatgpt)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* refactor: restructure CLAUDE.md into path-scoped rules
- Slim CLAUDE.md from 290 to 39 lines (core rules only)
- Add .claude/rules/ with path-scoped files: dockerfile, devcontainer, workflows, new-image
- Fix stale references: Biome→OXC, zsh→fish, remove AGENTS.md symlink mentions
- Remove derivable content (directory tree, README patterns)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* docs: add implementation plan for ralphex-fe Debian rebuild
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* feat(ralphex-fe): add entrypoint and credential copier scripts
init.sh adapted from umputun/baseimage for Debian (gosu, groupadd/groupdel).
init-docker.sh copied from umputun/ralphex (credential copying from mounts).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* feat(ralphex-fe): rewrite Dockerfile from Alpine to Debian (node:24-trixie-slim)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix(ralphex-fe): update workflow for Debian-based image
- Drop RALPHEX_VERSION extraction (binary fetched as latest at build time)
- Add ralphex-fe/files/** to trigger paths
- Update verify commands for Debian (app user, Playwright cache, init scripts)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* docs(ralphex-fe): update README for Debian-based image
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix(ralphex-fe): add docker.io, fzf, pipefail; upgrade checkout to v6
- Add docker.io package (needed for wrapper's --docker flag)
- Add fzf (fuzzy finder, matches official ralphex image)
- Add SHELL pipefail for Bun curl|bash install (Docker best practice)
- Upgrade actions/checkout to v6
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* style(ralphex-fe): combine LABEL instructions into single statement
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix(ralphex-fe): add --no-log-init and download-then-extract for ralphex
- useradd --no-log-init prevents large sparse log files (Docker best practice)
- Ralphex download separated from tar extraction to avoid masked curl failures
in pipeless /bin/sh context
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix: add DL3002 and DL3016 to hadolint ignores
- DL3002 (last USER not root): ralphex-fe entrypoint runs as root for
APP_UID remapping, then drops to app user via gosu
- DL3016 (pin npm versions): Claude Code intentionally unpinned —
images rebuild daily to always get latest
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* docs: add pre-commit CI validation rule to CLAUDE.md
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix(ralphex-fe): handle docker group created by docker.io package
docker.io package creates a docker group during installation.
Use groupadd -f (idempotent) + groupmod to ensure GID 999.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* chore(ci): upgrade actions to latest stable versions
- actions/checkout: v4 → v6
- docker/setup-qemu-action: v3 → v4
- docker/setup-buildx-action: v3 → v4
- docker/build-push-action: v5 → v7
Resolves Node.js 20 deprecation warnings.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* feat(ralphex-fe): migrate build to docker/github-builder for parallel platforms
Replace sequential QEMU-based build with docker/github-builder which
builds amd64 and arm64 in parallel on native runners. Verification
runs on native runners (ubuntu-24.04 + ubuntu-24.04-arm).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* chore(ci): upgrade dorny/paths-filter v3 → v4
Resolves Node.js 20 deprecation warning.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* perf(ralphex-fe): replace docker.io and golang-go with direct binary downloads
- Docker CLI: static binary from download.docker.com instead of docker.io
package (avoids containerd, runc, iptables — ~55MB of unneeded deps)
- Go: direct binary from go.dev/dl/ instead of apt golang-go (avoids
~200MB of Go source + build deps via apt)
Both match the patterns used in the official ralphex images.
End result is identical: same Go version, same Docker CLI functionality.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* perf(ralphex-fe): parallel multi-stage downloads; drop QEMU from CI
Dockerfile: restructured as multi-stage build — Go, Docker CLI, Hugo,
and Ralphex binaries download in parallel stages (BuildKit runs
independent stages concurrently). Final stage COPY --from each.
CI: dropped arm64 QEMU build and QEMU setup step. arm64 is tested
on native runners at merge time via docker/github-builder — no need
to emulate it in pre-merge CI.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* perf(ralphex-fe): Chromium-only Playwright, apt/npm cache mounts, drop wget
- Playwright: install only Chromium headless shell (was installing Firefox
+ WebKit too). This image is for headless Claude Code testing only.
- apt-get: use --mount=type=cache for /var/cache/apt and /var/lib/apt/lists
(Docker best practice — avoids re-downloading on layer rebuild)
- npm: use --mount=type=cache for /root/.npm
- Remove wget from final stage (Hugo downloads in parallel stage now)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 77bcea0 commit db9312a
18 files changed
Lines changed: 1219 additions & 468 deletions
File tree
- .claude
- rules
- .devcontainer
- claude-sandbox
- .github/workflows
- claude-code
- docs/superpowers/plans
- ralphex-fe
- files
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
69 | 12 | | |
70 | 13 | | |
71 | 14 | | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
76 | 18 | | |
77 | 19 | | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
| 20 | + | |
122 | 21 | | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
140 | 26 | | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
| 27 | + | |
271 | 28 | | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
278 | 32 | | |
279 | | - | |
| 33 | + | |
280 | 34 | | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
0 commit comments