Add sample, stack and port to ARM64

Signed-off-by: Alex Ellis <alexellis2@gmail.com>
This commit is contained in:
Alex Ellis
2017-09-22 10:27:05 +00:00
parent b04dffdc2f
commit a7de20c29d
5 changed files with 120 additions and 0 deletions

View File

@ -0,0 +1,11 @@
FROM arm64v8/alpine:3.6
ADD https://github.com/alexellis/faas/releases/download/0.6.5/fwatchdog-arm64 /usr/bin/fwatchdog
# COPY ./fwatchdog /usr/bin/
RUN chmod +x /usr/bin/fwatchdog
# Populate example here
# ENV fprocess="wc -l"
HEALTHCHECK --interval=5s CMD [ -e /tmp/.lock ] || exit 1
CMD ["fwatchdog"]