# THIS FILE IS GENERATED FROM Dockerfile DO NOT EDIT
FROM openshift/golang-builder:1.12 AS builder
ENV OS_GIT_MAJOR=4 OS_GIT_MINOR=3 OS_GIT_PATCH=13 OS_GIT_VERSION=4.3.13-202004131016-f6d1fe7 OS_GIT_TREE_STATE=clean SOURCE_GIT_COMMIT=f6d1fe753cbcecb3aa1c2d3d3edd4a5d04ffca54 SOURCE_GIT_TAG=machine-config-daemon-4.3.13-202004130402 SOURCE_GIT_URL=https://github.com/openshift/machine-config-operator SOURCE_DATE_EPOCH=1585884822 OS_GIT_COMMIT=f6d1fe7 BUILD_VERSION=v4.3.13 BUILD_RELEASE=202004131016
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.3.13.20200413.101616
ENV OS_GIT_MAJOR=4 OS_GIT_MINOR=3 OS_GIT_PATCH=13 OS_GIT_VERSION=4.3.13-202004131016-f6d1fe7 OS_GIT_TREE_STATE=clean SOURCE_GIT_COMMIT=f6d1fe753cbcecb3aa1c2d3d3edd4a5d04ffca54 SOURCE_GIT_TAG=machine-config-daemon-4.3.13-202004130402 SOURCE_GIT_URL=https://github.com/openshift/machine-config-operator SOURCE_DATE_EPOCH=1585884822 OS_GIT_COMMIT=f6d1fe7 BUILD_VERSION=v4.3.13 BUILD_RELEASE=202004131016
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" \
        version="v4.3.13" \
        release="202004131016" \
        io.openshift.build.commit.id="f6d1fe753cbcecb3aa1c2d3d3edd4a5d04ffca54" \
        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/f6d1fe753cbcecb3aa1c2d3d3edd4a5d04ffca54"

