snowclaw build
Build both Docker images without running or deploying them. Useful for validating the build context or prewarming local caches.
Usage
snowclaw build
What it does
- Assembles the build context into
.snowclaw/build/:Dockerfile(withOPENCLAW_VERSIONsubstituted)docker-compose.ymlconfig/connections.tomlscripts/docker-entrypoint.shskills/,plugins/,proxy/,build-hooks/spcs/service.yamlandspcs/network-rules.sql
- Builds the OpenClaw gateway image (layers your config, Cortex Code,
gh, and any build hooks on top ofghcr.io/openclaw/openclaw). - Builds the Cortex proxy sidecar image (a slim
python:3.12-slimwith FastAPI + httpx).
No containers are started and nothing is pushed to Snowflake. To run the stack, use snowclaw dev; to deploy, use snowclaw deploy.
When to run it explicitly
- Debugging a failing build hook in isolation
- Verifying that a new plugin or changed Dockerfile layer compiles
- Warming your local Docker cache before a demo