rocker-org / rocker-versioned

Run current & prior versions of R using docker
https://hub.docker.com/r/rocker/r-ver
GNU General Public License v2.0
297 stars 169 forks source link

what is the purpose of the post_push file in the tidyverse 3.5.0 folder? #87

Closed bc closed 6 years ago

bc commented 6 years ago

https://github.com/rocker-org/rocker-versioned/blob/master/tidyverse/3.5.0/hooks/post_push

I'm trying to learn how this plays into the dockerfile. What is the purpose of this file?

Thanks

cboettig commented 6 years ago

it just creates tags to allow you to refer to any image using only the major or minor version while omitting the patch, i.e. docker pull rocker/r-ver:3.4 automatically corresponds to the latest patch within the 3.4 release (i.e. 3.4.4). This can be important for users who want to pull the latest patches but avoid the potential for more breaking changes introduced by new releases.