Skip to content

Commit bf6823d

Browse files
gatezhclaude
andcommitted
feat(ci): smart cache busting for daily rebuilds
- Add CACHE_BUST build arg before Claude Code install — layers above (system packages, Playwright) stay cached, layers below (Claude Code, agent-browser) rebuild fresh on schedule/dispatch - Move AGENT_BROWSER_VERSION to default stage, default to latest - Add no-cache checkbox to workflow_dispatch UI - Add claude-code to main README - Update claude-code README with rebuild docs and version changes Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent ebefad1 commit bf6823d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎claude-code/.devcontainer/Dockerfile‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,12 +154,12 @@ RUN echo "node ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/node-nopasswd \
154154
USER node
155155

156156
# agent-browser: headless browser automation for AI agents
157-
# Installs its own bundled playwright-core + full chromium (separate from Playwright above)
158-
# Requires root for system deps (apt-get install triggered by --with-deps)
157+
# Downloads Chrome from Chrome for Testing (Google's official automation channel).
158+
# --with-deps installs system dependencies on Linux.
159159
ARG AGENT_BROWSER_VERSION=latest
160160
USER root
161161
RUN npm install -g agent-browser@${AGENT_BROWSER_VERSION} \
162-
&& $(npm root -g)/agent-browser/node_modules/.bin/playwright-core install --with-deps chromium \
162+
&& agent-browser install --with-deps \
163163
&& chown -R node:node /usr/local/share/npm-global
164164
USER node
165165

0 commit comments

Comments
 (0)