-
-
Notifications
You must be signed in to change notification settings - Fork 157
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
oci_tarball: set mtime to 2000-01-01 #380
oci_tarball: set mtime to 2000-01-01 #380
Conversation
This way we can generate reproducible tars and avoid sha256sums changing for the tar output of the oci_tarball rule.
Potential fix for #328. |
this is possibly one of the many non-hermetic input here. |
was this PR tested on macs? macos (seems like bsd in general) tar does not have --mtime in its man page |
verified this does not work on macos, @thesayyn this PR should probably be reverted? |
Yup, reverting. |
@alexeagle , thanks for the revert. Yes, indeed I diid not test this on mac (I have none). |
This way we can generate reproducible tars and avoid sha256sums changing for the tar output of the oci_tarball rule.