# THIS FILE IS GENERATED FROM Dockerfile DO NOT EDIT
FROM openshift/golang-builder:rhel_8_golang_1.15 AS builder
ENV __doozer=update BUILD_RELEASE=202107300549.p0.git.c9fce5a.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-202107300549.p0.git.c9fce5a.assembly.stream SOURCE_GIT_TREE_STATE=clean 
ENV __doozer=merge OS_GIT_COMMIT=c9fce5a OS_GIT_VERSION=4.7.0-202107300549.p0.git.c9fce5a.assembly.stream-c9fce5a SOURCE_DATE_EPOCH=1627620493 SOURCE_GIT_COMMIT=c9fce5a27bb71642339085600b98a2e60341a6c2 SOURCE_GIT_TAG=unreleased-master-724-gc9fce5a2 SOURCE_GIT_URL=https://github.com/openshift/machine-config-operator 
WORKDIR /go/src/github.com/openshift/machine-config-operator
COPY . .
# FIXME once we can depend on a new enough host that supports globs for COPY,
# just use that.  For now we work around this by copying a tarball.
RUN make install DESTDIR=./instroot && tar -C instroot -cf instroot.tar .

FROM openshift/ose-base:v4.7.0-202107292319.p0.git.0e45f63.assembly.stream
ENV __doozer=update BUILD_RELEASE=202107300549.p0.git.c9fce5a.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-202107300549.p0.git.c9fce5a.assembly.stream SOURCE_GIT_TREE_STATE=clean 
ENV __doozer=merge OS_GIT_COMMIT=c9fce5a OS_GIT_VERSION=4.7.0-202107300549.p0.git.c9fce5a.assembly.stream-c9fce5a SOURCE_DATE_EPOCH=1627620493 SOURCE_GIT_COMMIT=c9fce5a27bb71642339085600b98a2e60341a6c2 SOURCE_GIT_TAG=unreleased-master-724-gc9fce5a2 SOURCE_GIT_URL=https://github.com/openshift/machine-config-operator 
COPY --from=builder /go/src/github.com/openshift/machine-config-operator/instroot.tar /tmp/instroot.tar
RUN cd / && tar xf /tmp/instroot.tar && rm -f /tmp/instroot.tar
COPY install /manifests
RUN if ! rpm -q util-linux; then yum install -y util-linux && yum clean all && rm -rf /var/cache/yum/*; fi
COPY templates /etc/mcc/templates
ENTRYPOINT ["/usr/bin/machine-config-operator"]

LABEL \
        io.openshift.release.operator="true" \
        name="openshift/ose-machine-config-operator" \
        com.redhat.component="ose-machine-config-operator-container" \
        io.openshift.maintainer.product="OpenShift Container Platform" \
        io.openshift.maintainer.component="Machine Config Operator" \
        release="202107300549.p0.git.c9fce5a.assembly.stream" \
        io.openshift.build.commit.id="c9fce5a27bb71642339085600b98a2e60341a6c2" \
        io.openshift.build.source-location="https://github.com/openshift/machine-config-operator" \
        io.openshift.build.commit.url="https://github.com/openshift/machine-config-operator/commit/c9fce5a27bb71642339085600b98a2e60341a6c2" \
        version="v4.7.0"

