Bug 2158757 - RFE Removing the tar dependency for "oc cp" operation
Summary: RFE Removing the tar dependency for "oc cp" operation
Keywords:
Status: NEW
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: RFE
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Abhishek Gupta
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-01-06 13:44 UTC by Vignesh Raghavendran
Modified: 2023-06-22 15:01 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Vignesh Raghavendran 2023-01-06 13:44:19 UTC
Description of problem:
operations like "oc cp" requires tar binary to be present in the image. ubi8/ubi8-minimal image doesn't have tar and hence cp operations fail. Hence, requesting to remove tar dependency for "oc cp" operation

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. run an image based on ubi8/ubi-minimal
2. try to use `oc cp` to copy a file from that container

Actual results:
- Fails because it requires tar binary be present in the container

Expected results:
- copy file from container

Additional info:
an RFE was already raised to include tar in ubi8-minimal image but was rejected as minimal images are meant to be as small as possible


Note You need to log in before you can comment on or make changes to this bug.