diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2022-01-03 14:35:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-03 14:35:31 +0100 |
commit | 1c099dee673f203398fb8372472bddedffb4df7e (patch) | |
tree | be85385f9c7add30c0b49da3501771bd9f5c996f | |
parent | ed3bc63666732bdc0724f2e53c14935a9f0f6fe7 (diff) | |
parent | d9aabb7acb4d697d4ba9527326602cf3abe77590 (diff) |
Merge pull request #5852 from autc04/docker-tmp-permissions
docker.nix: set correct permissions on /tmp (fix #5851)
-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" ]; |