clipper icon indicating copy to clipboard operation
clipper copied to clipboard

Customize container image for R

Open akhtarnabeel opened this issue 7 years ago • 2 comments

Hi, I was wondering if there is anyway I can provide my own container image for R code, with dependencies installed in it. So that instead of the default docker container image, it uses my image.

I am doing it because my R code has dependencies.

Thank you very much!

Nabeel

akhtarnabeel avatar Jul 10 '18 21:07 akhtarnabeel

Hi Nabeel! By modifying these lines, you can have Clipper build your own custom image. Make sure to follow the template provided in this file so that the new container image is compatible.

RehanSD avatar Jul 10 '18 22:07 RehanSD

I want to do the same thing as the Nabee. I want Clipper to deploy my manually built R Docker container because the current build process fails due to dependency conflicts installing RClipper required CodeDepends and histry packages (this really needs to be fixed).

Q: Where is the build_container.py file that is executed physically stored so I know which one to change to impact the build process? Is the file build_container.py the same one used on the original unzip step? For example, /home/ubuntu/clipper-develop/containers/R/rclipper_user/inst

csmithnm avatar Jul 12 '18 18:07 csmithnm