Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge dockerfiles #45

Open
wants to merge 2 commits into
base: ros2-devel
Choose a base branch
from
Open

Conversation

dave992
Copy link
Member

@dave992 dave992 commented Nov 21, 2024

For another project, we wanted to use the docker image with the SDK already installed. I noticed we now had 2 dockerfiles, where the .dev version did not take into account the .ci version and also installed ROS from scratch.

I simplified the docker files into a single multi-staged build. All stages (core, base, dev) have been pushed to the registry.

I pointed the docker compose to the Dockerfile, but you likely want to point this to the registry instead to prevent it rebuilding the image again and again. Long term we can let the CI build the image and push it to the registry.

@nikhil-sethi @lqnnguyen can you pick this PR up / review it?

@dave992 dave992 force-pushed the single_dockerfile_with_stages branch from d782fe9 to 83203d2 Compare November 22, 2024 13:31
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@lqnnguyen lqnnguyen assigned lqnnguyen and unassigned lqnnguyen Nov 25, 2024
Copy link

@lqnnguyen lqnnguyen left a comment

Choose a reason for hiding this comment

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

I tested and built scancontrol on both samxl/scancontrol:humble-ros-core and samxl/scancontrol:humble-ros-base with a Micro-Epsilon 3025 LLS. Packages were built successfully. Topic, services, and parameters were active.

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.

3 participants