FROM openshift/golang-builder:1.12 AS builder
ENV OS_GIT_MAJOR=4 OS_GIT_MINOR=3 OS_GIT_PATCH=5 OS_GIT_VERSION=4.3.5-202003020549-3752471 OS_GIT_TREE_STATE=clean SOURCE_GIT_COMMIT=3752471e05fb4a7ed923bef281109eae82eb9d75 SOURCE_GIT_TAG=3752471 SOURCE_GIT_URL=https://github.com/openshift/cluster-autoscaler-operator SOURCE_DATE_EPOCH=1575550919 OS_GIT_COMMIT=3752471 BUILD_VERSION=v4.3.5 BUILD_RELEASE=202003020549
WORKDIR /go/src/github.com/openshift/cluster-autoscaler-operator
COPY . .
ENV NO_DOCKER=1
ENV BUILD_DEST=/go/bin/cluster-autoscaler-operator
RUN unset VERSION && make build

FROM openshift/ose-base:v4.3.5.20200302.063651
ENV OS_GIT_MAJOR=4 OS_GIT_MINOR=3 OS_GIT_PATCH=5 OS_GIT_VERSION=4.3.5-202003020549-3752471 OS_GIT_TREE_STATE=clean SOURCE_GIT_COMMIT=3752471e05fb4a7ed923bef281109eae82eb9d75 SOURCE_GIT_TAG=3752471 SOURCE_GIT_URL=https://github.com/openshift/cluster-autoscaler-operator SOURCE_DATE_EPOCH=1575550919 OS_GIT_COMMIT=3752471 BUILD_VERSION=v4.3.5 BUILD_RELEASE=202003020549
COPY --from=builder /go/bin/cluster-autoscaler-operator /usr/bin/
COPY --from=builder /go/src/github.com/openshift/cluster-autoscaler-operator/install /manifests
CMD ["/usr/bin/cluster-autoscaler-operator"]

LABEL \
        io.openshift.release.operator="true" \
        name="openshift/ose-cluster-autoscaler-operator" \
        com.redhat.component="ose-cluster-autoscaler-operator-container" \
        version="v4.3.5" \
        release="202003020549" \
        io.openshift.build.commit.id="3752471e05fb4a7ed923bef281109eae82eb9d75" \
        io.openshift.build.source-location="https://github.com/openshift/cluster-autoscaler-operator" \
        io.openshift.build.commit.url="https://github.com/openshift/cluster-autoscaler-operator/commit/3752471e05fb4a7ed923bef281109eae82eb9d75"

