rocker-org / rocker

R configurations for Docker
https://rocker-project.org
GNU General Public License v2.0
1.45k stars 273 forks source link

Docker image with different base os #485

Closed tatakof closed 2 years ago

tatakof commented 2 years ago

Hi, is there a way to get a given image (say rocker/verse) but with a custom os? such as pop os 21.10. I'm trying to make a custom dockerfile for rstats with stan and jags, but having the same os as my main laptop. The closest thing I found was @RamiKrispin docker project: https://github.com/RamiKrispin/docker which dynamically creates a docker image based on the os you want, the R version you want, and the Rstudio version you want, but this project is missing the dependencies for STAN and JAGS, which I'm having a hard time adding them on my own.

Thanks

eitsupi commented 2 years ago

Sorry for the late reply. The source code of all Docker images provided by the Rocker project is publicly available, so you can rewrite the Dockerfiles yourself and build from any base image you like.