github.com/k8snetworkplumbingwg/sriov-network-operator@v1.2.1-0.20240408194816-2d2e5a45d453/Dockerfile.webhook (about)

     1  FROM golang:1.21 AS builder
     2  WORKDIR /go/src/github.com/k8snetworkplumbingwg/sriov-network-operator
     3  COPY . .
     4  RUN make _build-webhook BIN_PATH=build/_output/cmd
     5  
     6  FROM quay.io/centos/centos:stream9
     7  LABEL io.k8s.display-name="sriov-network-webhook" \
     8        io.k8s.description="This is an admission controller webhook that mutates and validates customer resources of sriov network operator."
     9  USER 1001
    10  COPY --from=builder /go/src/github.com/k8snetworkplumbingwg/sriov-network-operator/build/_output/cmd/webhook /usr/bin/webhook
    11  CMD ["/usr/bin/webhook"]