Add figlet example

Signed-off-by: Alex Ellis <alexellis2@gmail.com>
This commit is contained in:
Alex Ellis
2018-01-10 21:56:16 +00:00
parent 4cda4411fe
commit b3b9273a9c
2 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,12 @@
FROM alpine:3.6
ADD https://github.com/openfaas/faas/releases/download/0.6.15/fwatchdog /usr/bin
RUN chmod +x /usr/bin/fwatchdog
RUN apk add --no-cache figlet
# Populate example here
ENV fprocess="figlet"
HEALTHCHECK --interval=5s CMD [ -e /tmp/.lock ] || exit 1
CMD ["fwatchdog"]

View File

@ -0,0 +1,12 @@
FROM alpine:3.6
ADD https://github.com/openfaas/faas/releases/download/0.6.15/fwatchdog-armhf /usr/bin
RUN chmod +x /usr/bin/fwatchdog
RUN apk add --no-cache figlet
# Populate example here
ENV fprocess="figlet"
HEALTHCHECK --interval=5s CMD [ -e /tmp/.lock ] || exit 1
CMD ["fwatchdog"]