-
Notifications
You must be signed in to change notification settings - Fork 14
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
Set rewrite-timestamp=true #70
base: main
Are you sure you want to change the base?
Conversation
You replied that it's incompatible with |
|
ping? |
Part of docker-library/official-images issue 16044 This exporter option rewrites the timestamps of the files inside image layers to use $SOURCE_DATE_EPOCH so as to increase reproducibility. https://github.com/moby/buildkit/blob/v0.15.2/docs/build-repro.md#source_date_epoch Signed-off-by: Akihiro Suda <[email protected]>
14f59ab
to
8514c30
Compare
Rebased |
👋 @AkihiroSuda - For this PR specifically what are we seeing as the user benefit? Also, what is the risk to existing users? Are there downstream tools that would be angry? The bigger context being in docker-library/official-images#16044 of course 😄 |
The benefit is the reduction of the diff across builds. Note that this For reproducing the file contents, the following Dockerfile PRs are still needed:
No additional PR is needed for the following repos:
A build may take an additional couple of minutes for rewriting the timestamps.
https://github.com/reproducible-containers/diffoci is "angry" by default for timestamp differences, though it has |
Part of:
This exporter option rewrites the timestamps of the files inside image layers to use $SOURCE_DATE_EPOCH so as to increase reproducibility.
https://github.com/moby/buildkit/blob/v0.15.2/docs/build-repro.md#source_date_epoch