-
Notifications
You must be signed in to change notification settings - Fork 134
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
Add Dockerfile #45
base: master
Are you sure you want to change the base?
Add Dockerfile #45
Conversation
33e4ff2
to
39d9497
Compare
@@ -0,0 +1,5 @@ | |||
repositories: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the point of having an overlay/underlay.repos ?
Also we should document this in the Readme.md as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Having separate overlay and underlay workspaces allows one to avoid having to rebuild unchanged upstream dependencies that changed downstream packages rely on. You can read more on this here:
https://index.ros.org/doc/ros2/Tutorials/Colcon-Tutorial/#source-an-underlay
This is used in conjunction with docker layer caching to succinctly build arbitrary package dependencies in whatever order they may require, and still cache that workspace to be independent of the source package in development.
And perhaps more than you'd ever need to know about build tools:
http://design.ros2.org/articles/build_tool.html
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll push a commit with some updated build instructions.
checkout entire overlay but copy over local source
@ToniRV is there anything else this PR needs for to be merged? |
@ruffsl I need to hold these PRs bcs we are in the middle of the Go-SEEK challenge, and this might break things... |
This PR adds an example Dockerfile for building this package as well as any needed underlay repos.