mirror of
https://github.com/openfaas/faas.git
synced 2025-06-18 20:16:37 +00:00
12
sample-functions/figlet/Dockerfile
Normal file
12
sample-functions/figlet/Dockerfile
Normal 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"]
|
12
sample-functions/figlet/Dockerfile.armhf
Normal file
12
sample-functions/figlet/Dockerfile.armhf
Normal 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"]
|
Reference in New Issue
Block a user