Information request about R code & distroless
Hello, I'm involved in project that requires R code in a very minimal (preferably) distroless container. The problem is that I don't understand how this works and if this is reasonably possible and where to get started?
I have a lot of experience running R code from containers simply using the rocker or r2u base image.
Best regards, Atur Sams
If you take a look at this docker image, I build nginx in a separate stage, and then copy over the compiled code plus any libs that are needed. Perhaps that's a solution you could do with building R images?
Alternatively, you could use Bazel to build images, and install the deb files. Personally I have not tried that method, and I am not familiar with how to install R.