Skip to content

Commit ec69d50

Browse files
authored
Merge pull request #123 from matmerr/windows
Add Windows Dockerfile
2 parents 6f0fbd9 + da6180a commit ec69d50

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

cmd/cyclonus/Dockerfile.windows

+8
Original file line numberDiff line numberDiff line change
@@ -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+
CMD [ "cyclonus.exe" ]

cmd/worker/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM k8s.gcr.io/e2e-test-images/agnhost:2.28
1+
FROM k8s.gcr.io/e2e-test-images/agnhost:2.33
22

33
ENTRYPOINT ["/worker"]
44

pkg/connectivity/probe/pod.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
)
1212

1313
const (
14-
agnhostImage = "k8s.gcr.io/e2e-test-images/agnhost:2.28"
14+
agnhostImage = "k8s.gcr.io/e2e-test-images/agnhost:2.33"
1515
cyclonusWorkerImage = "mfenwick100/cyclonus-worker:latest"
1616
)
1717

0 commit comments

Comments
 (0)