We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a87d1a commit 3f3bfbdCopy full SHA for 3f3bfbd
images/cannier/Containerfile
@@ -0,0 +1,19 @@
1
+FROM quay.io/kubevirtci/golang:v20250211-4e3c019 as builder
2
+ENV GOPROXY=https://proxy.golang.org|direct \
3
+ GOFLAGS="-mod=vendor -ldflags=-extldflags=\"-static\"" \
4
+ CGO_ENABLED=0 \
5
+ GOOS=linux \
6
+ GOARCH=amd64
7
+ENV GIMME_GO_VERSION=1.23.4
8
+RUN mkdir kubevirt && \
9
+ cd kubevirt && \
10
+ git clone https://github.com/dhiller/project-infra.git && \
11
+ cd project-infra && \
12
+ git checkout b88bb00a73514123b2ce3ed740b47c3ae8b054b7 && \
13
+ /usr/local/bin/runner.sh /bin/sh -ce "env GOPROXY=off go build -tags netgo -o /go/bin/cannier ./robots/cmd/cannier"
14
+RUN dnf install -y \
15
+ ripgrep
16
+FROM gcr.io/k8s-prow/git:v20240729-4f255edb07
17
+COPY --from=builder /go/bin/cannier /usr/bin/cannier
18
+COPY --from=builder /usr/bin/rg /usr/bin/rg
19
+ENTRYPOINT ["/usr/bin/cannier"]
0 commit comments