Skip to content

Commit 382f363

Browse files
committed
nix: added created = "now"; to allow useful timestamps for docker images
1 parent b256493 commit 382f363

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: release.nix

+3
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,10 @@ in
7272
docker = dockerTools.buildImage {
7373
name = application.name;
7474
contents = [ application ];
75+
# This ensures symlinks to directories are preserved in the image
7576
keepContentsDirlinks = true;
77+
# This adds a correct timestamp, however breaks binary reproducibility
78+
created = "now";
7679
extraCommands = ''
7780
mkdir -m 1777 tmp
7881
'';

0 commit comments

Comments
 (0)