Skip to content

Refactor: Optimize Docker environment setup for robust inference#112

Open
bodongiee wants to merge 1 commit intoAgibotTech:mainfrom
bodongiee:develop
Open

Refactor: Optimize Docker environment setup for robust inference#112
bodongiee wants to merge 1 commit intoAgibotTech:mainfrom
bodongiee:develop

Conversation

@bodongiee
Copy link

This PR refactors the Docker initialization scripts entrypoint.sh to resolve pathing issues and permission errors encountered during env setup.
1. Permission Management: Docker-Native Root Access

  • Change: Removed legacy sudo and setfacl commands.
  • New: Applied chmod -R 777 to leverage Docker’s native root authority.
  • Benefit: Eliminates "Permission Denied" errors, allowing NVIDIA drivers and Isaac Sim to write to cache/log folders without interruption.

2. Environment Optimization: High-Speed uv Integration

  • Change: Migrated from standard pip to the uv package manager.
  • New: Standardized dependency installation within the pre-configured /.venv.
  • Benefit: Drastically reduces setup time and ensures all Bolt robot dependencies are correctly installed in the virtual environment.

3. Path Robustness: Dynamic Dependency Discovery

  • Change: Removed hardcoded filenames for 3rd-party wheels.
  • New: Implemented dynamic discovery using the find command for .whl files in the 3rdparty directory.
  • Benefit: Prevents setup failures caused by minor version changes or naming discrepancies, increasing reliability across different systems.

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