# THIS FILE IS GENERATED FROM Dockerfile DO NOT EDIT
FROM openshift/golang-builder:1.12 AS builder
ENV SOURCE_GIT_COMMIT=5c8eeddacb4c95bbd7f95f89821208d9a1f82a2f SOURCE_GIT_TAG=machine-config-daemon-4.3.0-201910280117-148-g5c8eedd SOURCE_GIT_URL=https://github.com/openshift/machine-config-operator SOURCE_DATE_EPOCH=1581629244 BUILD_VERSION=v4.3.3 BUILD_RELEASE=202002171705
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.3.20200217.170535
ENV SOURCE_GIT_COMMIT=5c8eeddacb4c95bbd7f95f89821208d9a1f82a2f SOURCE_GIT_TAG=machine-config-daemon-4.3.0-201910280117-148-g5c8eedd SOURCE_GIT_URL=https://github.com/openshift/machine-config-operator SOURCE_DATE_EPOCH=1581629244 BUILD_VERSION=v4.3.3 BUILD_RELEASE=202002171705
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" \
        version="v4.3.3" \
        release="202002171705" \
        io.openshift.build.commit.id="5c8eeddacb4c95bbd7f95f89821208d9a1f82a2f" \
        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/5c8eeddacb4c95bbd7f95f89821208d9a1f82a2f"

