-
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
debug-v0.23.0 docker image has a file owned by a user with high uid #1303
Comments
Thanks for the bug report, We are using this dockerfile and Debug Dockerfile Looks like there is an issue here. |
Yes, I assume it can be fixed either in the source tar (from https://github.com/GoogleCloudPlatform/docker-credential-gcr/ ) or by chmoding the file in the Dockerfile, I'm not sure which one is best. Maybe both. |
Makes sense. would like to create a PR for it? i can review and merge. |
Actual behavior
The file /kaniko/docker-credential-gcr is owned by user uid=205001 gid=89939 in the debug-v0.23.0 docker image, instead of uid=0 gid=0 usually. This cause issues in our CI as we are using user namespace, and this goes out of the range we defined.
Expected behavior
Have all files owned by the same user, ideally with a low enough uid :)
To Reproduce
1- docker run -it --entrypoint=sh gcr.io/kaniko-project/executor:debug-v0.23.0
2- ls -l kaniko/
Additional Information
N/A
Triage Notes for the Maintainers
--cache
flagThe text was updated successfully, but these errors were encountered: