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

     1  FROM golang:1.21 AS builder
     2  WORKDIR /go/src/github.com/k8snetworkplumbingwg/sriov-network-operator
     3  COPY . .
     4  RUN make _build-sriov-network-config-daemon BIN_PATH=build/_output/cmd
     5  
     6  FROM quay.io/centos/centos:stream9
     7  ARG MSTFLINT=mstflint
     8  RUN ARCH_DEP_PKGS=$(if [ "$(uname -m)" != "s390x" ]; then echo -n ${MSTFLINT} ; fi) && yum -y install hwdata $ARCH_DEP_PKGS && yum clean all
     9  LABEL io.k8s.display-name="sriov-network-config-daemon" \
    10        io.k8s.description="This is a daemon that manage and config sriov network devices in Kubernetes cluster"
    11  COPY --from=builder /go/src/github.com/k8snetworkplumbingwg/sriov-network-operator/build/_output/cmd/sriov-network-config-daemon /usr/bin/
    12  COPY bindata /bindata
    13  CMD ["/usr/bin/sriov-network-config-daemon"]