New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[oc new-build] is there a way to copy mutiple directories using oc new-build with source-image-path flag #22600
Comments
It seems fyi @openshift/sig-developer-experience @bparees |
@adambkaplan i used oc patch buildconfig $APP --type=json -p='[{"op":"add","path":"/spec/source/images/0/paths/1","value":{"destinationDir":".","sourcePath":"/opt/app-root/src/openshift/."}}] it will be though much cleaner to have this done in one command :) |
any news if this feature gonna be implemented? |
We have no immediate plans to add this feature, but are more than happy to review a PR. I'd recommend waiting a bit, since origin is currently being refactored so that |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
Rotten issues close after 30d of inactivity. Reopen the issue by commenting /close |
@openshift-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
when writing a build config in openshift, i can copy multiple
directories from one container to another like this
how can i do the same thing using oc new-build ?
I tried
with the fist one only one directory is being copied! and the rest are
throwing an error.
The documentation is only mentioning
--source-image-path='': Specify the file or directory to copy from the source image and its destination in the build directory. Format: [source]:[destination-dir]
The text was updated successfully, but these errors were encountered: