Skip to content

Add pre-baked microsandbox image#1309

Draft
benjaminshafii wants to merge 4 commits intodevfrom
task/microsandbox-openwork-server
Draft

Add pre-baked microsandbox image#1309
benjaminshafii wants to merge 4 commits intodevfrom
task/microsandbox-openwork-server

Conversation

@benjaminshafii
Copy link
Copy Markdown
Member

Summary

  • add a pre-baked micro-sandbox Dockerfile that compiles openwork and openwork-server and installs the pinned opencode binary during docker build
  • add an entrypoint and helper script so the container boots a connectable OpenWork server with stable defaults, printed curl checks, and a Docker healthcheck
  • document the backend-only micro-sandbox build, run, and curl verification flow in the Docker README

Testing

  • bash -n scripts/build-microsandbox-openwork-image.sh
  • sh -n packaging/docker/microsandbox-entrypoint.sh
  • ./scripts/build-microsandbox-openwork-image.sh
  • docker run -d --rm -p 127.0.0.1::8787 -e OPENWORK_CONNECT_HOST=127.0.0.1 openwork-microsandbox:dev
  • curl http://127.0.0.1:<published-port>/health
  • curl http://127.0.0.1:<published-port>/workspaces returns 401
  • curl -H \"Authorization: Bearer microsandbox-token\" http://127.0.0.1:<published-port>/workspaces returns 200
  • docker inspect --format '{{json .State.Health}}' <container> reports healthy

Bake openwork, openwork-server, and the pinned opencode binary into a single Docker image so micro-sandbox remote-connect smoke tests can boot quickly and be verified with curl and container health checks.
@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Apr 3, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
openwork-app Ready Ready Preview, Comment Apr 3, 2026 10:01pm
openwork-den Ready Ready Preview, Comment Apr 3, 2026 10:01pm
openwork-den-worker-proxy Ready Ready Preview, Comment Apr 3, 2026 10:01pm
openwork-landing Ready Ready Preview, Comment, Open in v0 Apr 3, 2026 10:01pm
openwork-share Ready Ready Preview, Comment Apr 3, 2026 10:01pm

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 3, 2026

The following comment was made by an LLM, it may be inaccurate:

Add a standalone microsandbox SDK example that boots the OpenWork image, validates remote-connect endpoints, and streams sandbox logs so backend-only sandbox behavior can be exercised without Docker.
Keep the standalone microsandbox example in git, but drop generated Cargo target artifacts so the branch only contains source, docs, and lockfile.
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.

1 participant