mirror of
https://github.com/openfaas/faas.git
synced 2025-06-18 12:06:37 +00:00
Windows port - spike (#66)
* Add Windows Dockerfile.win * Create appveyor.yml * Create build.ps1 * Port Golang example to Windows
This commit is contained in:
16
sample-functions/BaseFunctions/golang/Dockerfile.win
Normal file
16
sample-functions/BaseFunctions/golang/Dockerfile.win
Normal file
@ -0,0 +1,16 @@
|
||||
FROM golang:1.7.5-windowsservercore
|
||||
MAINTAINER alexellis2@gmail.com
|
||||
ENTRYPOINT []
|
||||
|
||||
WORKDIR /go/src/github.com/alexellis/faas/sample-functions/golang
|
||||
COPY . /go/src/github.com/alexellis/faas/sample-functions/golang
|
||||
RUN go build
|
||||
|
||||
ADD ./watchdog.exe /
|
||||
|
||||
EXPOSE 8080
|
||||
ENV fprocess="app.exe"
|
||||
|
||||
ENV suppress_lock="true"
|
||||
|
||||
CMD ["watchdog.exe"]
|
Reference in New Issue
Block a user