Skip to content

Remove stale nvidia.srl symlink hack from Dockerfiles - #5266

Merged
myurasov-nv merged 4 commits into
developfrom
antoiner/fix-docker-srl-symlink
Apr 14, 2026
Merged

myurasov-nv merged 4 commits into
developfrom
antoiner/fix-docker-srl-symlink

Conversation

@AntoineRichard

Copy link
Copy Markdown
Collaborator

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

  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I have read and understood the contribution guidelines
  • I have run the pre-commit checks with ./isaaclab.sh --format
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • I have updated the changelog and the corresponding version in the extension's config/extension.toml file
  • I have added my name to the CONTRIBUTORS.md or my name already exists there

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-apps

greptile-apps Bot commented Apr 14, 2026 •

Copy link
Copy Markdown
Contributor

Greptile Summary

Removes the ln -s symlink step for nvidia.srl from both Dockerfile.base and Dockerfile.curobo, which was causing Docker builds to fail after the extension was dropped from the latest-develop Isaac Sim image. The fix is minimal and correct.

Confidence Score: 5/5

  • Safe to merge — removes a build-breaking dead step with no regressions introduced.
  • The only remaining finding is a P2 cleanup suggestion about a stale no-op rm -rf in Dockerfile.curobo that does not break the build. All P1/P0 concerns are absent.
  • No files require special attention; the optional cleanup in docker/Dockerfile.curobo line 138 is non-blocking.

Important Files Changed

Filename Overview
docker/Dockerfile.base Removes the stale nvidia.srl symlink RUN step; no other changes. Clean removal with no remaining references to the deprecated extension.
docker/Dockerfile.curobo Removes the nvidia.srl symlink hack; however a related stale rm -rf omni.isaac.ml_archive/pip_prebundle/torch* step (line 138) is left behind and is now a no-op since the extension is also gone from the image.

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
Loading

Comments Outside Diff (1)

  1. docker/Dockerfile.curobo, line 135-138 (link)

    P2 Potentially stale omni.isaac.ml_archive removal

    Since the PR description states that omni.isaac.ml_archive has been removed from the latest-develop Isaac Sim image, this rm -rf step targeting its pip_prebundle/torch* contents is now a no-op. It won't break the build (the glob quietly matches nothing), but it's dead code alongside the symlink hack that was removed. Consider cleaning it up here to keep the Dockerfile consistent with the stated premise of the PR.

Reviews (1): Last reviewed commit: "Remove stale nvidia.srl symlink hack fro..." | Re-trigger Greptile

@isaaclab-review-bot isaaclab-review-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 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.ros2 and 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/srl symlink 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.

@camevor camevor left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

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.
@github-actions github-actions Bot added the isaac-lab Related to Isaac Lab team label Apr 14, 2026
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.
@myurasov-nv
myurasov-nv merged commit dade3f9 into develop Apr 14, 2026
18 of 29 checks passed
@myurasov-nv
myurasov-nv deleted the antoiner/fix-docker-srl-symlink branch April 14, 2026 22:54
AntoineRichard added a commit that referenced this pull request Apr 16, 2026
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.
AntoineRichard added a commit that referenced this pull request Apr 16, 2026
## 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working infrastructure isaac-lab Related to Isaac Lab team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants