Skip to content
Snippets Groups Projects
Commit a9e72cd0 authored by Alex Ellis's avatar Alex Ellis
Browse files

Merge branch 'verbose_profiles' with Alpine base image and light-weight examples of cat/wc

parents d538433e 390dcefb
No related branches found
No related tags found
No related merge requests found
......@@ -54,6 +54,27 @@ services:
no_proxy: "gateway"
https_proxy: $https_proxy
echoit:
image: alexellis2/faas-alpinefunction:latest
depends_on:
- gateway
networks:
- functions
environment:
fprocess: "cat"
no_proxy: "gateway"
https_proxy: $https_proxy
wordcount:
image: alexellis2/faas-alpinefunction:latest
depends_on:
- gateway
networks:
- functions
environment:
fprocess: "wc"
no_proxy: "gateway"
https_proxy: $https_proxy
networks:
functions:
driver: overlay
......
FROM alpine:latest
COPY fwatchdog /usr/bin/
# Populate example here
# ENV fprocess="wc -l"
CMD ["fwatchdog"]
#!/bin/bash
docker build -t alexellis2/faas-alpinefunction .
FROM alexellis2/faas-alpinefunction
COPY fwatchdog /usr/bin/
# Populate example here
ENV fprocess="wc -l"
CMD ["fwatchdog"]
#!/bin/bash
docker build -t alexellis2/faas-wordcount:latest .
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment