create homedir for users
This commit is contained in:
parent
fdc09dabc1
commit
c43a076a32
|
@ -25,6 +25,7 @@ pkgs.dockerTools.buildImage {
|
|||
let
|
||||
cont-interpreter = "/bin/bash";
|
||||
useradd-string = (user: hashed-pw: is-admin: ''useradd \
|
||||
-m \
|
||||
${if is-admin then "-G ${jupyterAdminGroup}" else ""} \
|
||||
-p ${hashed-pw} \
|
||||
${user}'');
|
||||
|
|
Loading…
Reference in New Issue