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

rename catservice


Signed-off-by: default avatarAlex Ellis <alexellis2@gmail.com>
parent b7fbdb9b
No related branches found
No related tags found
No related merge requests found
......@@ -11,9 +11,11 @@ For examples of hello-world in different programming languages see inside the Ba
## Sample functions from the FaaS stack
* [FaaS-And_Furious Community functions](https://github.com/faas-and-furious) (new)
> Also see the [community page](https://github.com/openfaas/faas/blob/master/community.md) for functions created by FaaS users and contributors.
Here is a list of the sample functions included this repository.
Here is a list of some of the sample functions included this repository.
| Name | Details |
|------------------------|----------------------------------------- |
......@@ -21,7 +23,7 @@ Here is a list of the sample functions included this repository.
| ApiKeyProtected | Example in Golang showing how to read X-Api-Key header |
| CaptainsIntent | Alexa skill - find the count of Docker Captains |
| ChangeColorIntent | Alexa skill - change the colour of IoT-connected lights |
| CatService | Uses `cat` from BusyBox to provide an echo service |
| echo | Uses `cat` from BusyBox to provide an echo function |
| DockerHubStats | Golang function gives the count of repos a user has on the Docker hub |
| HostnameIntent | Prints the hostname of a container |
| NodeInfo | Node.js - gives CPU/network info on the current container |
......
FROM alpine:latest
ENTRYPOINT []
ADD https://github.com/openfaas/faas/releases/download/v0.5-alpha/fwatchdog /usr/bin
RUN chmod +x /usr/bin/fwatchdog
ENV fprocess "/bin/cat"
EXPOSE 8080
CMD ["/usr/bin/fwatchdog"]
FROM functions/alpine:latest
ENV fprocess "/bin/cat"
......@@ -18,10 +18,10 @@ functions:
handler: ./CaptainsIntent
image: functions/captainsintent:latest
catservice:
echo:
lang: Dockerfile
handler: ./catservice
image: functions/catservice:latest
handler: ./echo
image: functions/faas-echo:latest
ChangeColorIntent:
lang: Dockerfile
......
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