diff options
author | Rok Garbas <rok@garbas.si> | 2022-01-16 21:01:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-16 21:01:47 +0100 |
commit | e1720b8e9d35667540cca3dc85cdb9b8b493b30f (patch) | |
tree | 0626e7356b45daa88ef420dbb63a9d26366e631e | |
parent | 34f2eebd5be06658c04aa7846753d5de124d7195 (diff) | |
parent | 84507daaaa476e9ee4fbf87d1728a07ad6520ca0 (diff) |
Merge pull request #5919 from johnae/var-tmp-in-docker-image
docker: also create var/tmp as some tools rely on it
-rw-r--r-- | docker.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docker.nix b/docker.nix index ca5d90635..251bd2f46 100644 --- a/docker.nix +++ b/docker.nix @@ -201,6 +201,8 @@ let mkdir $out/tmp + mkdir -p $out/var/tmp + mkdir -p $out/etc/nix cat $nixConfContentsPath > $out/etc/nix/nix.conf @@ -236,6 +238,7 @@ pkgs.dockerTools.buildLayeredImageWithNixDb { ''; fakeRootCommands = '' chmod 1777 tmp + chmod 1777 var/tmp ''; config = { |