diff --git a/.goreleaser.yml b/.goreleaser.yml index b82c248..a6750a2 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -46,6 +46,7 @@ builds: - -s -w -X github.com/maksim-paskal/aks-node-termination-handler/pkg/config.gitVersion={{.Version}}-{{.ShortCommit}}-{{.Timestamp}} goos: - linux + - windows goarch: - amd64 - arm64 diff --git a/Dockerfile.windows b/Dockerfile.windows new file mode 100644 index 0000000..7292178 --- /dev/null +++ b/Dockerfile.windows @@ -0,0 +1,7 @@ +FROM mcr.microsoft.com/windows/nanoserver:1809 + +WORKDIR /app/ + +COPY ./aks-node-termination-handler.exe /app/aks-node-termination-handler.exe + +ENTRYPOINT [ "/app/aks-node-termination-handler.exe" ] \ No newline at end of file