mirror of
https://github.com/openfaas/faas.git
synced 2025-06-10 09:16:48 +00:00
Note, not all `alexellis/github` references should be changed, there are a number of repos which are not part of the openfaas org, this commit excludes those. Signed-off-by: John McCabe <john@johnmccabe.net>
18 lines
389 B
Docker
18 lines
389 B
Docker
FROM alexellis2/go-armhf:1.7.4
|
|
|
|
MAINTAINER alexellis2@gmail.com
|
|
ENTRYPOINT []
|
|
|
|
RUN apk --no-cache add make
|
|
WORKDIR /go/src/github.com/openfaas/faas/sample-functions/DockerHubStats
|
|
COPY . /go/src/github.com/openfaas/faas/sample-functions/DockerHubStats
|
|
|
|
RUN make
|
|
|
|
COPY ./fwatchdog /usr/bin
|
|
RUN chmod +x /usr/bin/fwatchdog
|
|
|
|
ENV fprocess "/go/bin/DockerHubStats"
|
|
|
|
CMD [ "/usr/bin/fwatchdog"]
|