mirror of
https://github.com/openfaas/faas.git
synced 2025-06-19 04:26:35 +00:00
FaaS does Cobol :-)
This commit is contained in:
15
sample-functions/BaseFunctions/cobol/Dockerfile
Normal file
15
sample-functions/BaseFunctions/cobol/Dockerfile
Normal file
@ -0,0 +1,15 @@
|
||||
FROM toricls/gnucobol:latest
|
||||
|
||||
ADD https://github.com/alexellis/faas/releases/download/0.5.1-alpha/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"]
|
||||
|
Reference in New Issue
Block a user