I need to build a version of the runtime docker im...
# questions
c
I need to build a version of the runtime docker image that is based on debian bookworm instead of debian trixie. How do I do that? The dynamically generated Dockerfile is extremely confusing. https://github.com/OpenHands/OpenHands/tree/main/containers/runtime
I think I found it:
Copy code
diff --git a/openhands/core/config/sandbox_config.py b/openhands/core/config/sandbox_config.py
index 0576e6a39..b634a4989 100644
--- a/openhands/core/config/sandbox_config.py
+++ b/openhands/core/config/sandbox_config.py
@@ -53,7 +53,7 @@ class SandboxConfig(BaseModel):
     rm_all_containers: bool = Field(default=False)
     api_key: str | None = Field(default=None)
     base_container_image: str | None = Field(
-        default='nikolaik/python-nodejs:python3.12-nodejs22'
+        default='nikolaik/python-nodejs:python3.12-nodejs22-bookworm'
     )
     runtime_container_image: str | None = Field(default=None)
     user_id: int = Field(default=os.getuid() if hasattr(os, 'getuid') else 1000)
Success! FINALLY! hahaha
👍 1
w
yeah this is sadly very hard--should be much easier in v1!