nix2container/cmd
Thomas Winant d9acb01c15
Allow setting the Created timestamp
Implements #89.

Like `nixpkgs.dockerTools.buildImage`, let `nix2container.buildImage` take an
optional `created` argument that will be set on the resulting image. For
backwards compatibility, it defaults to `"0001-01-01T00:00:00Z"`.

I did not implement support for passing `"now"`, as I don't need it.

(cherry picked from commit ffafa5df41829395609c51b25853fd7bdf154e5e)
2024-08-07 21:08:50 -04:00
..
image.go Allow setting the Created timestamp 2024-08-07 21:08:50 -04:00
layers.go Remove deprecated functions 2022-12-16 08:55:43 +01:00
root.go imp: add debug flag (to show popularity scores, etc.) 2022-07-08 18:44:32 -05:00
utils.go Remove deprecated functions 2022-12-16 08:55:43 +01:00