Skip to content

Commit

Permalink
Merge pull request openshift#2075 from 2uasimojo/HIVE-2288/tar-in-ins…
Browse files Browse the repository at this point in the history
…taller-image

Add `tar` to installer image
  • Loading branch information
openshift-merge-robot authored Aug 4, 2023
2 parents cd6aaa4 + a826331 commit 6aa3fa8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile.ubi
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ RUN if ! rpm -q openssh-clients; then $DNF install -y openssh-clients && $DNF cl
# libvirt libraries required for running bare metal installer.
RUN if ! rpm -q libvirt-libs; then $DNF install -y libvirt-libs && $DNF clean all && rm -rf /var/cache/dnf/*; fi

# tar is needed to package must-gathers on install failure
RUN if ! which tar; then $DNF install -y tar && $DNF clean all && rm -rf /var/cache/dnf/*; fi

COPY --from=builder /go/src/github.com/openshift/hive/bin/manager /opt/services/
COPY --from=builder /go/src/github.com/openshift/hive/bin/hiveadmission /opt/services/
COPY --from=builder /go/src/github.com/openshift/hive/bin/hiveutil /usr/bin
Expand Down

0 comments on commit 6aa3fa8

Please sign in to comment.