-
Notifications
You must be signed in to change notification settings - Fork 183
Open
Description
There are now snapshots repositories providing ROS packages for every new sync (discourse announcement).
Characteristics of the snapshots repositories:
- snapshots are kept for at least 6 months during the lifetime of the distribution
- when a ROS distribution goes end of life, its packages are removed from
packages.ros.organd moved to afinalsnapshot onsnapshots.ros.org - snapshots of the
finalsync of a distribution will be kept at least 6 months after the distro is EOL
Docker images for EOL ROS distributions will be built once using the final snapshot and then be removed from the docker hub build farm.
This proposal is to evaluate the value of using those in the docker images of active ROS distributions:
Changes in the docker images if using the new repositories
- After each sync, the Dockerfiles will be updated to point to the URL specific to that ROS sync (e.g. http://snapshots.ros.org/melodic/2019-07-30/) (should fix [ros] Provide exact version numbers to ensure rebuilds #112)
- This URL is architecture independent, this means that the same dockerfile can still be used for e.g. Ubuntu Bionic amd64/armhf and arm64
- Need to extend the automatic image generation to produce new dockerfiles at each sync to be PR'd to the official docker library (similar to Release hash script and update hashes #230)
- Additional aliases will be added with the sync timestamp in it
Pros:
- builds of the images will be reproducible as the packages in a given snapshot repository will never change
- images will be up to date as the URL change will cause a cache burst
- users will be able to pull images of a past sync (Preserve snapshot version of images? #197)
Cons:
- people using a ROS image after 6+ months without pulling a new version / updating the URL will not be able to install ROS packages (as the apt repo will not exist anymore)
@nuclearsandwich @tfoote is this description accurate?
@yosifkit @tianon Is this a pattern that has been seen / is acceptable for official docker images?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels