mirror of
https://github.com/openfaas/faas.git
synced 2025-06-09 00:36:46 +00:00
This updates watchdog version to latest 0.8.0 in the functions samples and documentation Signed-off-by: Ivana Yovcheva (VMware) <iyovcheva@vmware.com>
17 lines
402 B
Docker
17 lines
402 B
Docker
FROM golang:1.9.4-windowsservercore
|
|
MAINTAINER alexellis2@gmail.com
|
|
ENTRYPOINT []
|
|
|
|
WORKDIR /go/src/github.com/openfaas/faas/sample-functions/golang
|
|
COPY . /go/src/github.com/openfaas/faas/sample-functions/golang
|
|
RUN go build
|
|
|
|
ADD https://github.com/openfaas/faas/releases/download/0.8.0/fwatchdog.exe /watchdog.exe
|
|
|
|
EXPOSE 8080
|
|
ENV fprocess="golang.exe"
|
|
|
|
ENV suppress_lock="true"
|
|
|
|
CMD ["watchdog.exe"]
|