Add AlpineFunction to enable override of fprocess without new container

This commit is contained in:
Alex Ellis
2017-01-20 18:13:42 +00:00
parent f6bf5a9c92
commit 390dcefb4f
5 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,7 @@
FROM alpine:latest
COPY fwatchdog /usr/bin/
# Populate example here
# ENV fprocess="wc -l"
CMD ["fwatchdog"]

View File

@ -0,0 +1,3 @@
#!/bin/bash
docker build -t alexellis2/faas-alpinefunction .

View File

@ -0,0 +1,7 @@
FROM alexellis2/faas-alpinefunction
COPY fwatchdog /usr/bin/
# Populate example here
ENV fprocess="wc -l"
CMD ["fwatchdog"]

View File

@ -0,0 +1,4 @@
#!/bin/bash
docker build -t alexellis2/faas-wordcount:latest .