mirror of
https://github.com/openfaas/faas.git
synced 2025-06-09 00:36:46 +00:00
This updates fwatchdog to latest version (0.7.9) in all templates in sample-functions and faas version in the documentation Signed-off-by: Ivana Yovcheva (VMware) <iyovcheva@vmware.com>
16 lines
309 B
Docker
16 lines
309 B
Docker
FROM toricls/gnucobol:latest
|
|
|
|
ADD https://github.com/openfaas/faas/releases/download/0.7.9/fwatchdog /usr/bin
|
|
RUN chmod +x /usr/bin/fwatchdog
|
|
|
|
WORKDIR /root/
|
|
|
|
COPY handler.cob .
|
|
RUN cobc -x handler.cob
|
|
ENV fprocess="./handler"
|
|
|
|
HEALTHCHECK --interval=1s CMD [ -e /tmp/.lock ] || exit 1
|
|
|
|
CMD ["fwatchdog"]
|
|
|