Document a minimal available sandbox Dockerfile
Hi, I want to build my own sandbox docker image, but failed because commands not found, so I wonder, what is the complete set of commands required by OpenHands to be run as a sandbox.
A Dockerfile example build from scratch will be best.
Maybe it would be helpful to specify what's missing from this documentation? A complete example? https://docs.all-hands.dev/usage/how-to/custom-sandbox-guide
I noticed that the most important part in this document is:
- Debian based
- replace
SANDBOX_RUNTIME_CONTAINER_IMAGEintoSANDBOX_BASE_CONTAINER_IMAGE.
The first question: is these two point enough, is there anything else to be noticed ?
And the second: does using SANDBOX_BASE_CONTAINER_IMAGE means OpenHands needs to install dependencies at runtime startup, what happens behind the scenes?
The third: what if we want to build a SANDBOX_RUNTIME_CONTAINER_IMAGE to accelerate the runtime startup, what should be installed by ourself ?
Someone else might be able to provide more details, but (1) yes, that should be enough, (2) yes, dependencies are installed in the container so that OpenHands can use it, and (3) I don't think anything can be done within the custom sandbox to accelerate the runtime startup since that's managed by OpenHands, you can only try to keep your custom sandbox as light as possible given what it's supposed to support.
Thank you for your response, this has answered many of my questions. I will close this issue, but if anyone knows how to build a non-Debian-based runtime image from scratch, please feel free to comment.