Files
ironclaw/.dockerignore
Henry Park 26e5e4cf02 feat(docker): pre-bundle WASM extensions in staging image (#2210)
* feat(docker): pre-bundle WASM extensions in staging image

Add a wasm-builder Docker stage that builds all registry tool/channel
extensions from source and copies the .wasm + .capabilities.json files
into the staging runtime image. Production images are unaffected — Docker
only builds the wasm-builder stage when --target runtime-staging is used.

The docker.yml workflow passes --target runtime-staging for scheduled
(staging) builds and workflow_dispatch with tag=staging, while all other
builds use --target runtime (no extensions).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix(docker): address PR review feedback

- Use COPY --chown instead of separate RUN chown layer (fewer layers)
- Reorder stages so runtime (production) is last — bare docker build
  defaults to production, not staging
- Use --locked when Cargo.lock is present for reproducible WASM builds

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 13:39:29 -07:00

8 lines
56 B
Plaintext

target/
.git/
.env
.env.*
*.md
!CLAUDE.md
node_modules/