Skip to content

Commit d2a5fde

Browse files
committed
remove bash and uname
1 parent c03b033 commit d2a5fde

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

Dockerfile.downstream

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -46,19 +46,8 @@ COPY --from=builder /opt/app-root/build .
4646
COPY --from=builder --chown=65532:65532 /opt/app-root/output /output
4747
COPY LICENSE /licenses/
4848
COPY README.downstream ./README
49-
50-
# Copy runtime dependencies from ose-cli (which is based on full RHEL)
51-
# - kubectl & oc: required for CLI operations
52-
# - bash: required for oc-netobserv script execution (#!/usr/bin/env bash)
53-
# - uname: used to display kernel version (cmd/root.go:131)
5449
COPY --from=ose-cli /usr/bin/kubectl /usr/bin/kubectl
5550
COPY --from=ose-cli /usr/bin/oc /usr/bin/oc
56-
COPY --from=ose-cli /usr/bin/bash /usr/bin/bash
57-
COPY --from=ose-cli /usr/bin/uname /usr/bin/uname
58-
59-
# Copy bash dependencies (shared libraries)
60-
COPY --from=ose-cli /usr/lib64/libtinfo.so.6 /usr/lib64/
61-
COPY --from=ose-cli /usr/lib64/libreadline.so.8 /usr/lib64/
6251

6352
USER 65532:65532
6453

0 commit comments

Comments
 (0)