Config tweak for samples

Signed-off-by: Alex Ellis <alexellis2@gmail.com>
This commit is contained in:
Alex Ellis
2018-03-03 20:36:18 +00:00
parent 00f9de9d4b
commit 5acb18915d
3 changed files with 7 additions and 1 deletions

View File

@ -22,5 +22,7 @@ COPY --from=builder /tmp /tmp
ENV fprocess="/main"
HEALTHCHECK --interval=5s CMD [ -e /tmp/.lock ] || exit 1
CMD ["/fwatchdog"]

View File

@ -1,4 +1,4 @@
FROM alexellis2/faas-alpinefunction:latest
FROM functions/alpine:latest
# Populate example here
ENV fprocess="wc"

View File

@ -7,6 +7,8 @@ functions:
lang: dockerfile
handler: ./AlpineFunction
image: functions/alpine:latest
environment:
fprocess: "cat"
apikeyprotected:
lang: dockerfile
@ -85,6 +87,8 @@ functions:
lang: dockerfile
handler: ./WordCountFunction
image: functions/wordcount:latest
environment:
fprocess: "wc"
nmap:
lang: dockerfile