nixpkgs/doc/build-helpers/images
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
..
appimagetools.section.md doc: update all fetchurl invocations with a hash in SRI format 2024-09-17 10:47:31 +02:00
binarycache.section.md doc: update mkBinaryCache section with admonitions and conventions 2023-12-25 17:34:59 -08:00
dockertools.section.md dockerTools: Allow separately specifying metadata and filesystem timestamps 2024-09-25 00:23:20 -04:00
makediskimage.section.md doc: fix make-disk-image.nix example 2024-06-04 21:46:41 +01:00
ocitools.section.md doc: update docs in ociTools, follow doc conventions 2024-02-29 16:30:04 +01:00
portableservice.section.md doc: update docs for portableService, follow doc conventions 2024-02-29 17:10:01 +01:00