Add base64 decode sample function

This commit is contained in:
Alex Ellis 2017-02-19 19:40:52 +00:00
parent 6d921cac50
commit 6f869bc313

View File

@ -135,6 +135,20 @@ services:
no_proxy: "gateway"
https_proxy: $https_proxy
# Decodes base64 representation of request body.
decodebase64:
image: alexellis2/faas-alpinefunction:latest
labels:
function: "true"
depends_on:
- gateway
networks:
- functions
environment:
fprocess: "base64 -d"
no_proxy: "gateway"
https_proxy: $https_proxy
# Converts body in (markdown format) -> (html)
markdown:
image: alexellis2/faas-markdownrender:latest