Skip to content

DO NOT REVIEW: Docker sandbox template for Claude Code#109637

Draft
p-jackson wants to merge 1 commit intotrunkfrom
docker-sandbox-repo-cleanup
Draft

DO NOT REVIEW: Docker sandbox template for Claude Code#109637
p-jackson wants to merge 1 commit intotrunkfrom
docker-sandbox-repo-cleanup

Conversation

@p-jackson
Copy link
Copy Markdown
Member

Proposed Changes

  • Add Dockerfile.claude-sandbox with Node 22.9.0 and Yarn 4.0.2 for running Claude Code in a Docker sandbox
  • Document sandbox build/run commands in docs/development-workflow.md

Why are these changes being made?

  • Enables running Claude Code in a fully isolated Docker sandbox with no permission gating

Testing Instructions

  • Build: docker build -f Dockerfile.claude-sandbox -t my-calypso-sandbox .
  • Run: docker sandbox run -t my-calypso-sandbox claude

Pre-merge Checklist

  • Has the general commit checklist been followed? (PCYsg-hS-p2)
  • Have you written new tests for your changes?
  • Have you tested the feature in Simple (P9HQHe-k8-p2), Atomic (P9HQHe-jW-p2), and self-hosted Jetpack sites (PCYsg-g6b-p2)?
  • Have you checked for TypeScript, React or other console errors?
  • Have you tested accessibility for your changes? Ensure the feature remains usable with various user agents (e.g., browsers), interfaces (e.g., keyboard navigation), and assistive technologies (e.g., screen readers) (PCYsg-S3g-p2).
  • Have you used memoizing on expensive computations? More info in Memoizing with create-selector and Using memoizing selectors and Our Approach to Data
  • Have we added the "[Status] String Freeze" label as soon as any new strings were ready for translation (p4TIVU-5Jq-p2)?
    • For UI changes, have we tested the change in various languages (for example, ES, PT, FR, or DE)? The length of text and words vary significantly between languages.
  • For changes affecting Jetpack: Have we added the "[Status] Needs Privacy Updates" label if this pull request changes what data or activity we track or use (p4TIVU-aUh-p2)?

Dockerfile with Node 22.9.0, Yarn 4.0.2 via corepack, and build-essential for native modules. Docs in development-workflow.md.
@matticbot
Copy link
Copy Markdown
Contributor

This PR modifies the release build for the following Calypso Apps:

For info about this notification, see here: PCYsg-OT6-p2

  • blaze-dashboard

To test WordPress.com changes, run install-plugin.sh $pluginSlug docker-sandbox-repo-cleanup on your sandbox.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants