-
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
Fix #940 set modtime when extracting #981
Fix #940 set modtime when extracting #981
Conversation
Certain utilities like Apt depend on modtime for certain files. Kaniko was not setting modtime when extracting files and so this broke things like apt. Kaniko now sets the file mod time to the value from the tar header.
This should also fix #793 |
@cvgw Has this fix been added to the latest executor and debug executor images? Just tried it (pulling both from gcr.io/kaniko-project via docker pull) and still see the issue. |
@vguaglione yes it has been added to those images. If you are still seeing this issue can we move the conversation back to the issue? #793 |
We are. Yes, can we reopen 793 @cvgw? Also curious about latest kaniko debug image... We have started experiencing build issues today using the latest debug version of the executor. This was not happening on our builds yesterday. Nothing has changed on our end. Partial sample output below. I can go ahead and open a separate issue for this one but wanted to give you a heads up: INFO[0000] Unpacking rootfs as cmd RUN apk update && apk upgrade --available requires it. |
Yes we can. Would you mind adding a new comment with your repro steps or just mention that they are the same steps from before. I'll repro and then reopen the issue
cc @tejal29 about status of tag |
Updated #793 with information detailing error in the executor:debug version of the container. Please review. |
Fixes #940
Description
Certain utilities like Apt depend on modtime for certain files. Kaniko was not setting modtime when extracting files and so this broke things like apt.
Kaniko now sets the file mod time to the value from the tar header.
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
See the contribution guide for more details.
Reviewer Notes
Release Notes
Describe any changes here so maintainer can include it in the release notes, or delete this block.