FROM openshift/ose-must-gather:v4.7.0.20210714.105810 AS builder
ENV __doozer=update BUILD_RELEASE=202107141046.p0.git.49f09cc.assembly.stream BUILD_VERSION=v4.7.0 OS_GIT_MAJOR=4 OS_GIT_MINOR=7 OS_GIT_PATCH=0 OS_GIT_TREE_STATE=clean OS_GIT_VERSION=4.7.0-202107141046.p0.git.49f09cc.assembly.stream SOURCE_GIT_TREE_STATE=clean 
ENV __doozer=merge KUBE_GIT_COMMIT=49f09cc0f42cc6a8c1d308e6747d76a9e758e590 KUBE_GIT_MAJOR=1 KUBE_GIT_MINOR=16+ KUBE_GIT_TREE_STATE=clean KUBE_GIT_VERSION=v1.16.0+49f09cc OS_GIT_COMMIT=49f09cc OS_GIT_VERSION=4.7.0-202107141046.p0.git.49f09cc.assembly.stream-49f09cc SOURCE_DATE_EPOCH=1625086651 SOURCE_GIT_COMMIT=49f09cc0f42cc6a8c1d308e6747d76a9e758e590 SOURCE_GIT_TAG=49f09cc SOURCE_GIT_URL=https://github.com/openshift/local-storage-operator 

FROM openshift/ose-cli:v4.7.0.20210714.105810
ENV __doozer=update BUILD_RELEASE=202107141046.p0.git.49f09cc.assembly.stream BUILD_VERSION=v4.7.0 OS_GIT_MAJOR=4 OS_GIT_MINOR=7 OS_GIT_PATCH=0 OS_GIT_TREE_STATE=clean OS_GIT_VERSION=4.7.0-202107141046.p0.git.49f09cc.assembly.stream SOURCE_GIT_TREE_STATE=clean 
ENV __doozer=merge KUBE_GIT_COMMIT=49f09cc0f42cc6a8c1d308e6747d76a9e758e590 KUBE_GIT_MAJOR=1 KUBE_GIT_MINOR=16+ KUBE_GIT_TREE_STATE=clean KUBE_GIT_VERSION=v1.16.0+49f09cc OS_GIT_COMMIT=49f09cc OS_GIT_VERSION=4.7.0-202107141046.p0.git.49f09cc.assembly.stream-49f09cc SOURCE_DATE_EPOCH=1625086651 SOURCE_GIT_COMMIT=49f09cc0f42cc6a8c1d308e6747d76a9e758e590 SOURCE_GIT_TAG=49f09cc SOURCE_GIT_URL=https://github.com/openshift/local-storage-operator 

RUN yum -y install rsync

COPY --from=builder /usr/bin/oc /usr/bin/oc
COPY must-gather/* /usr/bin/

ENTRYPOINT /usr/bin/gather

LABEL \
        name="openshift/ose-local-storage-mustgather" \
        com.redhat.component="ose-local-storage-mustgather-container" \
        io.openshift.maintainer.product="OpenShift Container Platform" \
        io.openshift.maintainer.component="Storage" \
        io.openshift.maintainer.subcomponent="Local Storage Operator" \
        release="202107141046.p0.git.49f09cc.assembly.stream" \
        io.openshift.build.commit.id="49f09cc0f42cc6a8c1d308e6747d76a9e758e590" \
        io.openshift.build.source-location="https://github.com/openshift/local-storage-operator" \
        io.openshift.build.commit.url="https://github.com/openshift/local-storage-operator/commit/49f09cc0f42cc6a8c1d308e6747d76a9e758e590" \
        version="v4.7.0"

