Skip to content

Commit 3caa695

Browse files
authored
Fix must-gather image dnf cmd and oc type (#794)
Signed-off-by: David Simansky <dsimansk@redhat.com>
1 parent 7e5011c commit 3caa695

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pkg/dockerfilegen/dockerfile-templates/rhel-9/MustGather.dockerfile.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ FROM $RUNTIME
77

88
ARG TARGETARCH
99

10-
COPY --from=cli-artifacts /usr/share/openshift/linux_$TARGETARCH/{{ .oc_binary_name }} /usr/bin/oc
10+
COPY --from=cli-artifacts /usr/share/openshift/linux_$TARGETARCH/oc.rhel9 /usr/bin/oc
1111

1212
# Copy all collection scripts to /usr/bin
1313
COPY must-gather/bin/* /usr/bin/
1414
COPY LICENSE /licenses/
1515
16-
RUN dnf install -y rsync tar
16+
RUN microdnf install -y rsync tar
1717
1818
ENV LOGS_DIR="/must-gather"
1919
RUN mkdir -p $LOGS_DIR && \

0 commit comments

Comments
 (0)