Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
4168709
Add remote R2 bucket binding for local development
Feb 9, 2026
311b51b
Update package-lock.json with resolved optional dependencies
Feb 9, 2026
088b182
Revert "Update package-lock.json with resolved optional dependencies"
Feb 9, 2026
4ce85ea
Add Google Workspace skill for Gmail and Calendar access
Feb 9, 2026
bc3ca0f
Fix NODE_PATH for globally installed googleapis in sandbox
Feb 9, 2026
359d70a
Install gogcli and configure Google auth on container startup
Feb 9, 2026
bbb8015
Fix R2 sync config file detection using stdout instead of exitCode
Feb 10, 2026
6f7c22f
Add configurable agent model override via OPENCLAW_MODEL env var
Feb 10, 2026
a2e4fb5
Reduce agent concurrency and route through Cloudflare AI Gateway
Feb 10, 2026
7e00a3f
Add gateway token auth bypass for CF Access
Feb 12, 2026
1672a07
Improve process cleanup, gateway health checks, and container startup
Feb 12, 2026
2ccb34a
Reset sandbox container by changing DO instance ID to moltbot-v2
Feb 12, 2026
56d4893
Fix catch-all proxy treating all requests as WebSocket due to null vs…
Feb 14, 2026
f214420
Fix admin UI spinning forever by replacing 3-min gateway wait with qu…
Feb 14, 2026
112ae1d
Reset sandbox container to moltbot-v3 to break DO reset loop after de…
Feb 14, 2026
cc665b8
Update @cloudflare/sandbox SDK and base image from 0.7.0 to 0.7.4
Feb 14, 2026
d272a45
Fix R2 backup: always sync after cron, use correct workspace path
Feb 16, 2026
aeb0748
Fix cron handler using wrong sandbox instance ID (moltbot-v2 → moltbo…
Feb 16, 2026
8116c9e
Fix R2 sync config check: ls outputs filename before FOUND marker
Feb 16, 2026
9959215
Fix R2 sync failing when workspace directory doesn't exist
Feb 16, 2026
964e2c1
Switch R2 backup from rsync to tar archives for s3fs performance
Feb 16, 2026
18ec00d
Update wrangler from 4.50 to 4.65
Feb 16, 2026
427e837
Revert instance_type to standard (matches current deploy config)
Feb 16, 2026
151ecd1
Add default workspace files (USER.md, SOUL.md, MEMORY.md) to Docker i…
Feb 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 16 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM docker.io/cloudflare/sandbox:0.7.0
FROM docker.io/cloudflare/sandbox:0.7.4

# Install Node.js 22 (required by OpenClaw) and rsync (for R2 backup sync)
# The base image has Node 20, we need to replace it with Node 22
Expand All @@ -20,6 +20,15 @@ RUN ARCH="$(dpkg --print-architecture)" \
# Install pnpm globally
RUN npm install -g pnpm

# Install gogcli (Google Workspace CLI for Gmail/Calendar/Drive)
# OpenClaw has a built-in 'gog' skill that wraps this CLI
ENV GOG_VERSION=0.9.0
RUN ARCH="$(dpkg --print-architecture)" \
&& curl -fsSL "https://github.com/steipete/gogcli/releases/download/v${GOG_VERSION}/gogcli_${GOG_VERSION}_linux_${ARCH}.tar.gz" -o /tmp/gogcli.tar.gz \
&& tar -xzf /tmp/gogcli.tar.gz -C /usr/local/bin gog \
&& rm /tmp/gogcli.tar.gz \
&& gog --version

# Install OpenClaw (formerly clawdbot/moltbot)
# Pin to specific version for reproducible builds
RUN npm install -g openclaw@2026.2.3 \
Expand All @@ -28,11 +37,16 @@ RUN npm install -g openclaw@2026.2.3 \
# Create OpenClaw directories
# Legacy .clawdbot paths are kept for R2 backup migration
RUN mkdir -p /root/.openclaw \
&& mkdir -p /root/.openclaw/workspace \
&& mkdir -p /root/clawd \
&& mkdir -p /root/clawd/skills

# Copy default workspace files (USER.md, SOUL.md, MEMORY.md)
# These are seeds — the startup script only uses them if no R2 backup exists
COPY workspace/ /root/.openclaw/workspace-defaults/

# Copy startup script
# Build cache bust: 2026-02-06-v29-sync-workspace
# Build cache bust: 2026-02-14-v41-doctor-timeout-and-host-header-fix
COPY start-openclaw.sh /usr/local/bin/start-openclaw.sh
RUN chmod +x /usr/local/bin/start-openclaw.sh

Expand Down
Loading