-
Notifications
You must be signed in to change notification settings - Fork 261
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 versioned docker images based on rocker/r-ver base images #117
Comments
You're saying you want the plumber Docker images pinned to the R versions? Or that you want them versioned by plumber release? I guess I'm open to either, but I'm not sure how to go about provisioning this kind of parameterized Docker image on DockerHub. If you have pointers or want to open a PR I'd be interested. |
What works for me is to pin the r version with r-ver from rocker and then pin the plumber version (and those of other packages) with
Maybe it makes sense to base a series of public images on separate plumber versions, but I could imagine that just documenting the process to fix the version with a reference to r-ver could be just as helpful. Plumber is likely to be only one of a list of package for most projects. |
Yep, I'm doing something similar now, but it would be nice to have a public image (or a set of them) where that's already done. If you include |
@trestletech I'm thinking versions of R, but that also should mean that whatever most appropriate version of plumber is pinned as well. The rocker/r-ver images use MRAN, so I believe that means they're pulling from a set collection of packages pinned to a particular date archive of CRAN. |
You can add multiple tags based (even based on environment variables) on Docker Hub with build hooks, so you could create tags based on the R version, based on the I've done this for other repos and would be glad to help out once you agree on a tagging scheme, though it's not that hard, see o2r-project/o2r-muncher@135330b...c7b2a07 ( |
@nuest that looks really cool! Do I understand correctly that you fix all your package versions in the package.json file? Does this automatically tag a production ( |
Fixed in #589 |
It would be great for production deployment to have a docker image for plumber based on the r-ver images from rocker-org. That way, code can be version-stable between container builds.
Seems like it should be a one-line change in the Dockerfile, and probably entails more work on the Docker Hub side than anything else.
Any chance you could provide that as an officially sanctioned option via Docker Hub?
The text was updated successfully, but these errors were encountered: