nixpkgs/pkgs/build-support/docker
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
..
test-dummy
default.nix dockerTools: Allow separately specifying metadata and filesystem timestamps 2024-09-25 00:23:20 -04:00
detjson.py
examples.nix virtualisation.oci-containers: Add new imageStream option (#335430) 2024-08-24 04:38:27 +02:00
nix-prefetch-docker
nix-prefetch-docker.nix
stream_layered_image.py dockerTools: Allow separately specifying metadata and filesystem timestamps 2024-09-25 00:23:20 -04:00
tarsum.go
tarsum.nix