nixpkgs/doc/build-helpers
WxNzEMof 847b4732e4 dockerTools: Allow separately specifying metadata and filesystem timestamps
Setting the image creation timestamp in the image metadata to a
constant date can cause problems with self-hosted container
registries, that need to e.g. prune old images.  This timestamp is
also useful for debugging.

However, it is almost never useful to set the filesystem timestamp to
a constant value.  Doing so not only causes the image to possibly no
longer be reproducible, but also removes any possibility of
deduplicating layers with other images, causing unnecessary storage
space usage.

Therefore, this commit introduces "mtime", a new parameter to
streamLayeredImage, which allows specifying the filesystem timestamps
separately from "created".  For backwards compatibility, "mtime"
defaults to the value of "created".
2024-09-25 00:23:20 -04:00
..
images dockerTools: Allow separately specifying metadata and filesystem timestamps 2024-09-25 00:23:20 -04:00
special doc: Improve the makeSetupHook example 2024-06-15 21:02:53 +03:00
dev-shell-tools.chapter.md devShellTools: Docs, fix args env 2024-07-28 23:17:18 +02:00
fetchers.chapter.md doc: add proxy usage to fetchers chapter 2024-08-23 21:34:30 +10:00
images.md
special.md
testers.chapter.md doc: add type signature of testers.runCommand 2024-08-08 15:43:47 +00:00
trivial-build-helpers.chapter.md doc/build-helpers: fix wrong invokations of writeTextFile with destination 2024-09-21 23:59:42 +02:00