We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f0fbd9 commit 7d358eeCopy full SHA for 7d358ee
cmd/cyclonus/Dockerfile.windows
@@ -0,0 +1,8 @@
1
+FROM golang:windowsservercore-ltsc2022 AS builder
2
+WORKDIR /go/src/github.com/cyclonus/
3
+COPY . .
4
+RUN $Env:CGO_ENABLED=0; go build -v -o /cyclonus.exe ./cmd/cyclonus/
5
+
6
+FROM mcr.microsoft.com/windows/nanoserver:ltsc2022
7
+COPY --from=builder /cyclonus.exe cyclonus.exe
8
+ENTRYPOINT [ "cyclonus.exe" ]
0 commit comments