-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Add support for --chown flag to COPY command #9
Comments
Hi I'm interested in getting this issue resolved for multi-stage builds we are working on, but don't have experience contributing to a go repo. I'd like to help out if possible though (at least for some of the |
…s/kaniko#9 (still investigating the rest of the process)
Hey @pmcq , thanks for your interest. I've outlined a few steps you might want to take to add this feature
Let me know if you have any more questions. |
I made changes in a fork here: https://github.com/GoogleContainerTools/kaniko/compare/master...pmcq:copy-chown?expand=1 and built an image and used it to run dockerfiles with I was thinking of creating new tests that just copy file/dir/symlink but since the user running the testcases isn't going to be a root user, it wouldn't be allowed to chown the file to someone else, so the testcase wouldn't add anything specific checks for this change. Should I open a PR or is there a different type of testing you would like? |
@pmcq thanks for opening a PR! |
Hey, this is still an active issue. PR #250 is closed and abandoned. |
Hi, any news on this? It's really problematic when using multi-stage to not be able to use Of course, a workaround is to call an extra Thanks |
@ataillefer beware, that walkaround has some unexpected problems of its own, see #845 |
Any updates on this issue? |
I just ran into this bug as well... |
See #1 for details
The text was updated successfully, but these errors were encountered: