Azure-Samples / functions-custom-handlers

Sample code for Azure Functions custom handlers
MIT License
91 stars 31 forks source link

For the R sample, where does the R runtime come from? #11

Open tomqwpl opened 4 years ago

tomqwpl commented 4 years ago

I'm trying to understand custom handlers, and how you write them in an arbitrary language. R is a good example of this. The R sample here though doesn't seem to tell me anything about where the R runtime actually comes from. The only Dockerfile provided uses a "node" base image. Naively I was expecting there to be a Dockerfile for the R sample that specified some kind of base image that contained an R runtime environment? But I probably misunderstand how custom handlers, and custom image work.

patnaikshekhar commented 4 years ago

I agree its not clear where the actual runtime comes from

RMHogervorst commented 3 years ago

As I understand it you need to install R on the dockerimage first. I'm not sure how old the dockerimage is, because by default it installed R 3.5 which is very old.