ostreedev/ostree-rs-ext

Encapsulated OSTree commits should retain timestamp

jlebon opened this issue · 2 comments

Right now, OSTree containers have:

"Created": "0001-01-01T00:00:00Z"

IIUC, I think this is because we're not actually setting the Created field on the image configuration.

Should we be setting that to the timestamp of the OSTree commit?

Hmm, yes, arguably. That said...I think we should also teach rpm-ostree to probably default to setting a commit timestamp to be the latest timestamp of all input RPMs. (And for ostree layers, all input layers).

That'd help ensure that generated container images are more reproducible too after we do this.

#445 is related to this