Repository navigation
Remove stale nvidia.srl symlink hack from Dockerfiles - #5266
Conversation
The omni.isaac.ml_archive extension and nvidia.srl have been removed from the latest-develop Isaac Sim image, causing Docker builds to fail on the ln -s step. The symlink is no longer needed since nvidia.srl is no longer bundled in Kit python site-packages.
Greptile SummaryRemoves the Confidence Score: 5/5
Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Docker Build Start] --> B[Install apt dependencies]
B --> C[Set up Isaac Sim symlink]
C --> D[Install Isaac Lab deps]
D --> E{Dockerfile variant?}
E -->|Dockerfile.base| F[Install quadprog / PYTHONPATH hacks]
E -->|Dockerfile.curobo| G[rm prebundled torch\nHACK: still references\nomni.isaac.ml_archive]
G --> H[Reinstall pip]
H --> I[Install Isaac Lab deps]
I --> J[Install cuRobo from source]
F --> K[Configure .bashrc aliases]
J --> K
K --> L[Build complete]
style G fill:#ffe0b2,stroke:#e65100
|
There was a problem hiding this comment.
🤖 Isaac Lab Review Bot
Summary
Clean removal of a stale ln -s hack from two Dockerfiles (Dockerfile.base and Dockerfile.curobo). The omni.isaac.ml_archive extension and nvidia.srl package have been removed from the latest-develop Isaac Sim image, making this symlink creation fail during Docker builds. Since both the source and target paths no longer exist, the deletion is correct and necessary.
Design Assessment
Design is sound. The original symlink was explicitly marked as a HACK in the comment. Removing dead infrastructure code when the upstream dependency disappears is the right approach — no replacement or migration is needed.
Findings
No issues found. The change is a straightforward deletion of 4 lines (identical block) from each of the two Dockerfiles that reference this hack. Verified that:
docker/Dockerfile.ros2and other Dockerfiles in the repo do not contain this hack- No other code in the repository depends on the
omni.isaac.ml_archive/pip_prebundle/nvidia/srlsymlink path - The surrounding Dockerfile context (environment variable setup, aliasing) is unaffected
Test Coverage
No new tests needed. This is a Docker build infrastructure fix that removes a dead RUN instruction. The Docker image build CI checks (Build Base Docker Image, Build cuRobo Docker Image) are the appropriate validation — they are currently pending and should pass with this fix.
CI Status
- ✅ pre-commit, Broken Links, Detect Changes, labeler — all passing
- ⏳ Build Base Docker Image, Build cuRobo Docker Image, license-check, Build Latest Docs — pending
Verdict
Ship it 🚀
Minimal, well-scoped fix that removes dead code causing Docker build failures. No runtime impact, no cross-module concerns. The Docker build CI will confirm the fix once it completes.
The package was previously bundled in the Isaac Sim Kit python site-packages but has been removed from the latest-develop image. Add it as a pip dependency in isaaclab's setup.py (gated to x86_64) and install it explicitly in both Dockerfiles so the Pink IK controller's convert_usd_to_urdf path works at runtime.
Already declared as a dependency in isaaclab's setup.py, so it gets installed via isaaclab.sh -i during the Docker build.
… namespace The package has conflicting lxml<5 deps so it cannot be a regular pip dependency. Install with --no-deps in the Dockerfiles, then symlink nvidia.srl into the ml_archive prebundle nvidia namespace which shadows site-packages. Revert the setup.py addition.
Reverts 4356a67 ("Fixes missing pinocchio, nvidia.srl imports in CI + minor CI improvements (#5241)") and dade3f9 ("Remove stale nvidia.srl symlink hack from Dockerfiles (#5266)"). All CI runs since Apr 13 are failing. The pinocchio/nvidia.srl hacks added to the Dockerfiles are not needed by the Apr 8 nightly, and the latest-develop image pushed after that date appears broken. Pin the base image to the Apr 8 digest (sha256:f085fb5b6899511bb19abdf18121bfc469901334aefb029d0def56d4fef79c58) until the nightly is fixed.
## Summary - Reverts #5241 (pinocchio/nvidia.srl Docker hacks + CI cosmetic changes) and #5266 (nvidia.srl symlink removal). - Pins `ISAACSIM_BASE_VERSION` in CI to the Apr 8 `latest-develop` digest (`sha256:f085fb5b6899511bb19abdf18121bfc469901334aefb029d0def56d4fef79c58`) — the last nightly where CI was green. - All CI runs since Apr 13 have been failing. The newer nightlies appear broken and the Dockerfile hacks targeting them are unnecessary when pinned to the known-good image. ## What to revert later Once the `latest-develop` nightly is fixed upstream: 1. Remove the `@sha256:...` digest pin from `build.yaml` (restore `'latest-develop'`). 2. Re-evaluate whether the pinocchio/nvidia.srl Dockerfile hacks from #5241 are still needed with the fixed nightly. ## Test plan - [ ] CI build and tests pass on this PR with the pinned image - [ ] Verify the `latest-develop@sha256:...` format is resolved correctly by Docker BuildKit
Description
The omni.isaac.ml_archive extension and nvidia.srl have been removed from the latest-develop Isaac Sim image, causing Docker builds to fail on the ln -s step. The symlink is no longer needed since nvidia.srl is no longer bundled in Kit python site-packages.
Type of change
Checklist
pre-commitchecks with./isaaclab.sh --formatconfig/extension.tomlfileCONTRIBUTORS.mdor my name already exists there