mirror of
https://github.com/openfaas/faas.git
synced 2025-06-18 03:56:37 +00:00
Add hub stats function
This commit is contained in:
13
sample-functions/DockerHubStats/Dockerfile
Normal file
13
sample-functions/DockerHubStats/Dockerfile
Normal file
@ -0,0 +1,13 @@
|
||||
FROM golang:1.7.3-alpine
|
||||
MAINTAINER alexellis2@gmail.com
|
||||
ENTRYPOINT []
|
||||
|
||||
RUN apk --no-cache add make
|
||||
WORKDIR /go/src/github.com/alexellis/faas/sample-functions/DockerHubStats
|
||||
COPY . /go/src/github.com/alexellis/faas/sample-functions/DockerHubStats
|
||||
|
||||
RUN make
|
||||
COPY fwatchdog /usr/bin/fwatchdog
|
||||
ENV fprocess "/go/bin/DockerHubStats"
|
||||
|
||||
CMD [ "/usr/bin/fwatchdog"]
|
Reference in New Issue
Block a user