use templated ROS bootstrap tools install#244
Conversation
894382f to
27da81c
Compare
|
@ruffsl I pushed the version with the updated dockerfile to reflect osrf/docker_templates@732a269. |
ruffsl
left a comment
There was a problem hiding this comment.
Some small questions, but still lgtm.
| maintainer_name: | ||
| arch: amd64 | ||
| type: distribution | ||
| version: |
There was a problem hiding this comment.
I think the version parameter was previously used for setting the package version in the apt install. Leaving it empty was to signify to the template function to poll the apt repo for the latest version number. Did you refactor this logic in docker_templates to match your repurpose of it here? Given osrf apt repos don't archive past version for long, this repurpose of version you've made seems more useful.
There was a problem hiding this comment.
Oh I was actually wondering why some files had it
docker_images/ros2/source/platform.yaml
Line 12 in 8404682
docker_images/ros2/nightly/platform.yaml
Line 13 in 8404682
I didn't change any corresponding logic in the templates scripts. Surprising the generated files didnt change, maybe it's used only for gazebo? Do you remember where this is used exactly?
There was a problem hiding this comment.
There was a problem hiding this comment.
Discussed this offline with @ruffsl, we will not use version but ros_version instead, that allows to not change the semantic and be consistent with the name of the environment variable ROS_VERSION
| arch: amd64 | ||
| type: distribution | ||
| version: | ||
| version: 2 |
There was a problem hiding this comment.
Could we update the ardent Dockerfiles with this? I know its EOL, but its helpful to keep the auto generate dockerfile in sync so that we only need the single manifest file to regenerate all folders in the library.
There was a problem hiding this comment.
Sure thing. Do you want me to update the ROS1 EOL Dockerfiles as well?
There was a problem hiding this comment.
If it's not to much trouble. Having updated .config/ros1/platform.yaml.em you should only need to delete the ros1 folders and run the ./create_dockerfolders.py in the ros directory. You may need to toggle the comments of the EOL listings to ensure they get regenerated.
There was a problem hiding this comment.
Yeah that's no trouble at all. I'll update them all once we resolve the other pending question
…s install Signed-off-by: Mikael Arguedas <mikael.arguedas@gmail.com>
Signed-off-by: Mikael Arguedas <mikael.arguedas@gmail.com>
Signed-off-by: Mikael Arguedas <mikael.arguedas@gmail.com>
Signed-off-by: Mikael Arguedas <mikael.arguedas@gmail.com>
Signed-off-by: Mikael Arguedas <mikael.arguedas@gmail.com>
27da81c to
a328e5a
Compare
This update the Dockerfiles based on osrf/docker_templates#52