Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Windows Dockerfile #123

Merged
merged 3 commits into from
Jan 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions cmd/cyclonus/Dockerfile.windows
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM golang:windowsservercore-ltsc2022 AS builder
WORKDIR /go/src/github.com/cyclonus/
COPY . .
RUN $Env:CGO_ENABLED=0; go build -v -o /cyclonus.exe ./cmd/cyclonus/

FROM mcr.microsoft.com/windows/nanoserver:ltsc2022
COPY --from=builder /cyclonus.exe cyclonus.exe
CMD [ "cyclonus.exe" ]
2 changes: 1 addition & 1 deletion cmd/worker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM k8s.gcr.io/e2e-test-images/agnhost:2.28
FROM k8s.gcr.io/e2e-test-images/agnhost:2.33

ENTRYPOINT ["/worker"]

Expand Down
2 changes: 1 addition & 1 deletion pkg/connectivity/probe/pod.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
)

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

Expand Down