Pau Rosello 2b37a0133a Non root user and fwatchdow standarization
AlpineFunction additional Dockerfiles
Fix Coffe, node nonroot user and change workdir
DnCore nonroot and updated to 2.1, new README
Fix golang user and watchdog
Java user and watchdog fix
Watchdog and user for node image
Fix python user and watchdog
Fix R username and watchdog
Captainsintent user and fwatchdog
ChangeColorIntent change username, fwatchdog and directory
CHelloWorld remove tmp, disabled lock, fwatchdog and user
DockerHubStats user, fwatchdog and dependencies
Change figlet to use base alpine image
Improve figlet ARM
Set base image GIF-Maker
MarkDownRender change base image
NodeInfo change base image
PhantomJS user and fwatchdog
Resize Image
SentimentAnalysis user and watchdog
WebhookStach change root image
Replace user faas with app
Upgrade alpine to latest version
Revert vendor folders
Upgrade alpine:3.9
2019-07-11 22:17:57 +01:00
..
2017-08-31 16:18:55 +01:00
2017-08-31 16:18:55 +01:00
2017-12-22 09:14:56 +00:00

BaseFunction for R

Use this FaaS function using R.

Deploy the base R function

(Make sure you have already deployed FaaS with ./deploy_stack.sh in the root of this Github repository.

  • Option 1 - click Create a new function on the FaaS UI

  • Option 2 - use the faas-cli (experimental)

# curl -sSL https://get.openfaas.com | sudo sh

# faas-cli -action=deploy -image=functions/base:R-3.4.1-alpine -name=baser
200 OK
URL: http://localhost:8080/function/baser

Say Hi with input

curl is good to test function.

$ curl http://localhost:8080/function/baser -d "test"

Customize the transformation

If you want to customise the transformation then edit the Dockerfile or the fprocess variable and create a new function.

Remove the function

You can remove the function with docker service rm baser.