doc/builders/images/dockertools: improve shadowSetup example
The example snippet will fail with this error as it is not self contained and assumes `shadowSetup` was given: $ nix-build docker-image.nix error: undefined variable 'shadowSetup' at docker-image.nix:20:7 Instead use the full reference to `shadowSetup` in the example so it will work as stated.
This commit is contained in:
parent
e6776218b6
commit
ac66ff97ed
1 changed files with 1 additions and 1 deletions
|
@ -302,7 +302,7 @@ buildImage {
|
|||
|
||||
runAsRoot = ''
|
||||
#!${pkgs.runtimeShell}
|
||||
${shadowSetup}
|
||||
${pkgs.dockerTools.shadowSetup}
|
||||
groupadd -r redis
|
||||
useradd -r -g redis redis
|
||||
mkdir /data
|
||||
|
|
Loading…
Reference in a new issue