Enable configuring the date used by reproducible builds #1281
Labels
status/blocked
Issue or PR that is blocked. See comments.
type/enhancement
Issue that requests a new feature or improvement.
Milestone
Description
Presently when you build an image, all of the timestamps are zeroed out, which gives you a date like "41 years ago" for your images.
Proposed solution
Three suggestions:
pack build
to take as input the timestamp it should use. Instead of writing 0 as the timestamp, write this value.pack build
will use the current timestamp and include that as a label on the image.pack
that users could customize if they want it to be zero by default or the current timestamp.This would achieve a couple of things:
pack build
.0
. In fact, other platforms like kpack could ignore this and continue using zero as the default.Describe alternatives you've considered
The current solution is where it always writes a 0 timestamp.
Additional context
Apologizes in advance if this is in the wrong repo. I wasn't entirely sure where to file this. Thanks!
The text was updated successfully, but these errors were encountered: