FROM openshift/golang-builder:1.12 AS builder
ENV SOURCE_GIT_COMMIT=6f818743af447b018f52e9f017d5414fa372b8ab SOURCE_GIT_TAG=6f81874 SOURCE_GIT_URL=https://github.com/openshift/cluster-ingress-operator SOURCE_DATE_EPOCH=1581652443 BUILD_VERSION=v4.3.3 BUILD_RELEASE=202002171705
WORKDIR /ingress-operator
COPY . .
RUN make build

FROM openshift/ose-base:v4.3.3.20200217.170535
ENV SOURCE_GIT_COMMIT=6f818743af447b018f52e9f017d5414fa372b8ab SOURCE_GIT_TAG=6f81874 SOURCE_GIT_URL=https://github.com/openshift/cluster-ingress-operator SOURCE_DATE_EPOCH=1581652443 BUILD_VERSION=v4.3.3 BUILD_RELEASE=202002171705
COPY --from=builder /ingress-operator/ingress-operator /usr/bin/
COPY manifests /manifests
ENTRYPOINT ["/usr/bin/ingress-operator"]

LABEL \
        io.openshift.release.operator="true" \
        io.k8s.display-name="OpenShift ingress-operator" \
        io.k8s.description="This is a component of OpenShift Container Platform and manages the lifecycle of ingress controller components." \
        maintainer="Dan Mace <dmace@redhat.com>" \
        name="openshift/ose-cluster-ingress-operator" \
        com.redhat.component="ose-cluster-ingress-operator-container" \
        version="v4.3.3" \
        release="202002171705" \
        io.openshift.build.commit.id="6f818743af447b018f52e9f017d5414fa372b8ab" \
        io.openshift.build.source-location="https://github.com/openshift/cluster-ingress-operator" \
        io.openshift.build.commit.url="https://github.com/openshift/cluster-ingress-operator/commit/6f818743af447b018f52e9f017d5414fa372b8ab"

