Skip to content
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

Determinism for layers #34

Open
rainersigwald opened this issue Jul 14, 2022 · 2 comments
Open

Determinism for layers #34

rainersigwald opened this issue Jul 14, 2022 · 2 comments
Labels
Area: Incrementality Changes to the incrementality/re-build of containers Area: Layer
Milestone

Comments

@rainersigwald
Copy link
Member

The OCI specs say that layers should preserve timestamps, but I expect to (optionally?) violate that, because we will want to produce bit-for-bit identical output given identical repo builds, just as the Roslyn compiler does. That will require using tar APIs to set metadata on files individually to some known value.

@stan-sz
Copy link

stan-sz commented Jan 9, 2023

Would this enforce <Deterministic>true</Deterministic>?

@baronfel baronfel added this to the Backlog milestone Jan 24, 2023
@baronfel baronfel added the Area: Incrementality Changes to the incrementality/re-build of containers label Oct 9, 2024
@baronfel
Copy link
Member

This issue should be the priority amongst the Area: Incrementality issues because it directly relates to customer COGS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Incrementality Changes to the incrementality/re-build of containers Area: Layer
Projects
None yet
Development

No branches or pull requests

3 participants