π OpenHands: AI-Driven Development
chore: env for installing third party providers (#9767)
Ivan Dagelicdfeab9f76722
diff --git a/containers/app/entrypoint.sh b/containers/app/entrypoint.shindex fe26f92fca..54d3d127cc 100644--- a/containers/app/entrypoint.sh+++ b/containers/app/entrypoint.sh@@ -23,6 +23,18 @@ if [ -z "$WORKSPACE_MOUNT_PATH" ]; thenunset WORKSPACE_BASEfi+if [[ "$INSTALL_THIRD_PARTY_RUNTIMES" == "true" ]]; then+ echo "Downloading and installing third_party_runtimes..."+ echo "Warning: Third-party runtimes are provided as-is, not actively supported and may be removed in future releases."++ if pip install 'openhands-ai[third_party_runtimes]' -qqq 2> >(tee /dev/stderr); then+ echo "third_party_runtimes installed successfully."+ else+ echo "Failed to install third_party_runtimes." >&2+ exit 1+ fi+fi+if [[ "$SANDBOX_USER_ID" -eq 0 ]]; thenecho "Running OpenHands as root"export RUN_AS_OPENHANDS=false