From 6f869bc31378081ce72cce270954723f0f7b76f0 Mon Sep 17 00:00:00 2001 From: Alex Ellis Date: Sun, 19 Feb 2017 19:40:52 +0000 Subject: [PATCH] Add base64 decode sample function --- docker-compose.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 722c5671..82a7e6d9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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