FROM openshift/golang-builder:1.12 AS builder
ENV SOURCE_GIT_COMMIT=db62fb9e2656ba92059beeef3241b191e062d9a2 SOURCE_GIT_TAG=db62fb9 SOURCE_GIT_URL=https://github.com/openshift/cluster-ingress-operator SOURCE_DATE_EPOCH=1576259701 BUILD_VERSION=v4.3.1 BUILD_RELEASE=202002032140
WORKDIR /ingress-operator
COPY . .
RUN make build

FROM openshift/ose-base:v4.3.1.20200203.214022
ENV SOURCE_GIT_COMMIT=db62fb9e2656ba92059beeef3241b191e062d9a2 SOURCE_GIT_TAG=db62fb9 SOURCE_GIT_URL=https://github.com/openshift/cluster-ingress-operator SOURCE_DATE_EPOCH=1576259701 BUILD_VERSION=v4.3.1 BUILD_RELEASE=202002032140
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.1" \
        release="202002032140" \
        io.openshift.build.commit.id="db62fb9e2656ba92059beeef3241b191e062d9a2" \
        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/db62fb9e2656ba92059beeef3241b191e062d9a2"

