FROM openshift/golang-builder:1.12 AS builder
ENV SOURCE_GIT_COMMIT=421be0acd8a86966efd4a603596e0bb5420e9d14 SOURCE_GIT_TAG=421be0a SOURCE_GIT_URL=https://github.com/openshift/cluster-ingress-operator SOURCE_DATE_EPOCH=1581117660 BUILD_VERSION=v4.3.2 BUILD_RELEASE=202002112006
WORKDIR /ingress-operator
COPY . .
RUN make build

FROM openshift/ose-base:v4.3.2.20200211.200621
ENV SOURCE_GIT_COMMIT=421be0acd8a86966efd4a603596e0bb5420e9d14 SOURCE_GIT_TAG=421be0a SOURCE_GIT_URL=https://github.com/openshift/cluster-ingress-operator SOURCE_DATE_EPOCH=1581117660 BUILD_VERSION=v4.3.2 BUILD_RELEASE=202002112006
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.2" \
        release="202002112006" \
        io.openshift.build.commit.id="421be0acd8a86966efd4a603596e0bb5420e9d14" \
        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/421be0acd8a86966efd4a603596e0bb5420e9d14"

