distroless icon indicating copy to clipboard operation
distroless copied to clipboard

Information request about R code & distroless

Open atursams opened this issue 3 years ago • 1 comments

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

atursams avatar Aug 31 '22 10:08 atursams

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.

omBratteng avatar Nov 02 '22 16:11 omBratteng