about summary refs log tree commit diff
path: root/doc/build-helpers
diff options
context:
space:
mode:
authorWxNzEMof <143541718+WxNzEMof@users.noreply.github.com>2024-02-26 18:41:07 +0000
committerWxNzEMof <143541718+WxNzEMof@users.noreply.github.com>2024-02-26 18:41:07 +0000
commit7799f4695b71829971694a5cfad54afefe5a87be (patch)
tree30d57553fb081ac7768b613970129fcb9686494a /doc/build-helpers
parent2697d34603c9bdf7b6b1728ece7c72efdb4872a4 (diff)
downloadnixlib-7799f4695b71829971694a5cfad54afefe5a87be.tar
nixlib-7799f4695b71829971694a5cfad54afefe5a87be.tar.gz
nixlib-7799f4695b71829971694a5cfad54afefe5a87be.tar.bz2
nixlib-7799f4695b71829971694a5cfad54afefe5a87be.tar.lz
nixlib-7799f4695b71829971694a5cfad54afefe5a87be.tar.xz
nixlib-7799f4695b71829971694a5cfad54afefe5a87be.tar.zst
nixlib-7799f4695b71829971694a5cfad54afefe5a87be.zip
Document the new streamLayeredImage parameters
Diffstat (limited to 'doc/build-helpers')
-rw-r--r--doc/build-helpers/images/dockertools.section.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/build-helpers/images/dockertools.section.md b/doc/build-helpers/images/dockertools.section.md
index a1d1f2cb2012..001d5695290e 100644
--- a/doc/build-helpers/images/dockertools.section.md
+++ b/doc/build-helpers/images/dockertools.section.md
@@ -507,6 +507,16 @@ This allows the function to produce reproducible images.
 
   _Default value:_ `"1970-01-01T00:00:01Z"`.
 
+`uid` (Number; _optional_) []{#dockerTools-buildLayeredImage-arg-uid}
+`gid` (Number; _optional_) []{#dockerTools-buildLayeredImage-arg-gid}
+`uname` (String; _optional_) []{#dockerTools-buildLayeredImage-arg-uname}
+`gname` (String; _optional_) []{#dockerTools-buildLayeredImage-arg-gname}
+
+: Credentials for Nix store ownership.
+  Can be overridden to e.g. `1000` / `1000` / `"user"` / `"user"` to enable building a container where Nix can be used as an unprivileged user in single-user mode.
+
+  _Default value:_ `0` / `0` / `"root"` / `"root"`
+
 `maxLayers` (Number; _optional_) []{#dockerTools-buildLayeredImage-arg-maxLayers}
 
 : The maximum number of layers that will be used by the generated image.