# THIS FILE IS GENERATED FROM Dockerfile DO NOT EDIT
FROM openshift/golang-builder:1.12 AS builder
ENV SOURCE_GIT_COMMIT=25bb6aeb58135c38a667e849edf5244871be4992 SOURCE_DATE_EPOCH=1578931135 BUILD_VERSION=v4.3.0 SOURCE_GIT_URL=https://github.com/openshift/machine-config-operator SOURCE_GIT_TAG=machine-config-daemon-4.3.0-201910280117-125-g25bb6ae BUILD_RELEASE=202001211731
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.0.20200121.173126
ENV SOURCE_GIT_COMMIT=25bb6aeb58135c38a667e849edf5244871be4992 SOURCE_DATE_EPOCH=1578931135 BUILD_VERSION=v4.3.0 SOURCE_GIT_URL=https://github.com/openshift/machine-config-operator SOURCE_GIT_TAG=machine-config-daemon-4.3.0-201910280117-125-g25bb6ae BUILD_RELEASE=202001211731
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 \
        com.redhat.component="ose-machine-config-operator-container" \
        name="openshift/ose-machine-config-operator" \
        io.openshift.build.source-location="https://github.com/openshift/machine-config-operator" \
        io.openshift.release.operator="true" \
        io.openshift.build.commit.url="https://github.com/openshift/machine-config-operator/commit/25bb6aeb58135c38a667e849edf5244871be4992" \
        version="v4.3.0" \
        io.openshift.build.commit.id="25bb6aeb58135c38a667e849edf5244871be4992" \
        release="202001211731"

