We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 328d18f commit ae38acbCopy full SHA for ae38acb
1 file changed
nix/oci.nix
@@ -74,6 +74,8 @@
74
fakeRootCommands = ''
75
mkdir -p /tmp
76
chmod 1777 /tmp
77
+ # Normalize transient Nix state dirs for reproducible image layers.
78
+ rmdir /nix/var/nix/builds /nix/var/nix /nix/var 2>/dev/null || true
79
'';
80
enableFakechroot = true;
81
@@ -108,6 +110,7 @@
108
110
mkdir -p var/lib/postgresql/data
109
111
mkdir -p var/run/postgresql
112
chown -R 999:999 var/lib/postgresql var/run/postgresql
113
114
115
116
0 commit comments