Skip to content

Commit

Permalink
Merge pull request openshift#441 from openshift-cherrypick-robot/cher…
Browse files Browse the repository at this point in the history
…ry-pick-411-to-release-4.3

[release-4.3] Bug 1821670: Make useable by buildah
  • Loading branch information
openshift-merge-robot committed Apr 17, 2020
2 parents a40c741 + fd7fe52 commit c6b80c0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Dockerfile
Expand Up @@ -13,12 +13,14 @@ RUN INSTALL_PKGS=" \
yum clean all && \
mkdir /tmp/ocp-clo && \
chmod og+w /tmp/ocp-clo
COPY --from=builder _output/bin/cluster-logging-operator /usr/bin/
COPY --from=builder /go/src/github.com/openshift/cluster-logging-operator/_output/bin/cluster-logging-operator /usr/bin/
COPY scripts/* /usr/bin/scripts/
RUN mkdir -p /usr/share/logging/
COPY files/ /usr/share/logging/
COPY manifests/$CSV /manifests/$CSV
COPY manifests/cluster-logging.package.yaml /manifests/

COPY --from=builder /go/src/github.com/openshift/cluster-logging-operator/manifests /manifests
RUN rm /manifests/art.yaml

# this is required because the operator invokes a script as `bash scripts/cert_generation.sh`
WORKDIR /usr/bin
ENTRYPOINT ["/usr/bin/cluster-logging-operator"]
Expand Down

0 comments on commit c6b80c0

Please sign in to comment.