mirror of
https://github.com/openfaas/faas.git
synced 2025-06-09 16:56:47 +00:00
18 lines
391 B
Docker
18 lines
391 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/alexellis/faas/sample-functions/DockerHubStats
|
|
COPY . /go/src/github.com/alexellis/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"]
|