Skip to content

Refactor Dockerfile.orin dependency layers #110#111

Merged
Yunus-Selim merged 2 commits intoTeam-Isaac-Polito:mainfrom
zeel2104:issue-110-cleanup-dockerfile-orin
Apr 22, 2026
Merged

Refactor Dockerfile.orin dependency layers #110#111
Yunus-Selim merged 2 commits intoTeam-Isaac-Polito:mainfrom
zeel2104:issue-110-cleanup-dockerfile-orin

Conversation

@zeel2104
Copy link
Copy Markdown
Contributor

Summary

This PR cleans up docker/Dockerfile.orin by reducing redundant installs, consolidating dependency layers, and making dev/debug tooling easier to exclude.

Changes

  • removed ROS packages from reseq-base that are already declared in the workspace package.xml files and can be resolved by rosdep in the final stage
  • consolidated scattered Python installs into fewer layers
  • removed the duplicate numpy==1.23.5 installation
  • separated optional debug/visualization tools behind INSTALL_DEV_TOOLS=true
  • added missing rm -rf /var/lib/apt/lists/* cleanup to apt install blocks
  • updated the Dockerfile header comments to reflect the current build path and stage layout

Notes

The Dockerfile now keeps reseq-base focused on image-specific extras, while workspace-declared ROS dependencies are left to rosdep install --from-path src in the final reseq stage.

A slimmer build can now be produced with:

docker build -t reseq-orin -f docker/Dockerfile.orin --build-arg INSTALL_DEV_TOOLS=false .

@Yunus-Selim Yunus-Selim self-requested a review March 27, 2026 20:29
@Yunus-Selim Yunus-Selim linked an issue Mar 27, 2026 that may be closed by this pull request
@Yunus-Selim Yunus-Selim force-pushed the issue-110-cleanup-dockerfile-orin branch from b85cd5f to 8311aac Compare April 22, 2026 18:10
Copy link
Copy Markdown
Contributor

@Yunus-Selim Yunus-Selim left a comment

Choose a reason for hiding this comment

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

Thank you for the contribution and sorry for the late return.

Because of some compatibility issues, we will have to keep the ros2 libraries in Dockerfile.orin. So, I had to modify it a little bit.

Other than that, LGTM!

@Yunus-Selim Yunus-Selim merged commit 10c1f7d into Team-Isaac-Polito:main Apr 22, 2026
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.

Clean up and Reorganise Dockerfile.orin

2 participants