mirror of
https://github.com/openfaas/faas.git
synced 2025-06-08 16:26:47 +00:00
rename catservice
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
This commit is contained in:
parent
b7fbdb9ba2
commit
9bd10a6649
@ -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 |
|
||||
|
@ -1,10 +0,0 @@
|
||||
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"]
|
2
sample-functions/echo/Dockerfile
Normal file
2
sample-functions/echo/Dockerfile
Normal file
@ -0,0 +1,2 @@
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user