diff options
author | Wolfgang Thaller <wolfgang.thaller@gmx.net> | 2022-01-01 16:47:05 +0100 |
---|---|---|
committer | Wolfgang Thaller <wolfgang.thaller@gmx.net> | 2022-01-01 16:47:05 +0100 |
commit | d9aabb7acb4d697d4ba9527326602cf3abe77590 (patch) | |
tree | be85385f9c7add30c0b49da3501771bd9f5c996f | |
parent | ed3bc63666732bdc0724f2e53c14935a9f0f6fe7 (diff) |
docker.nix: set correct permissions on /tmp
-rw-r--r-- | docker.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docker.nix b/docker.nix index 25930bb87..bfccdb8f5 100644 --- a/docker.nix +++ b/docker.nix @@ -232,6 +232,9 @@ pkgs.dockerTools.buildLayeredImageWithNixDb { rm -rf nix-support ln -s /nix/var/nix/profiles nix/var/nix/gcroots/profiles ''; + fakeRootCommands = '' + chmod 1777 tmp + ''; config = { Cmd = [ "/root/.nix-profile/bin/bash" ]; |