Add hub stats function

This commit is contained in:
Alex
2017-01-08 17:10:17 +00:00
parent 37ad1e8e84
commit 86b4cfbb49
5 changed files with 87 additions and 0 deletions

View 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"]