mirror of
https://github.com/nix-community/docker-nixpkgs.git
synced 2026-01-11 12:30:36 -05:00
devcontainer: add /home folder
useradd breaks if /home doesn't exist
This commit is contained in:
@@ -81,6 +81,7 @@ let
|
||||
ln -s /nix/var/nix/profiles/default/bin/bash bin/bash
|
||||
|
||||
# setup shadow, bashrc
|
||||
mkdir home
|
||||
cp -r ${./root/etc} etc
|
||||
chmod +w etc etc/group etc/passwd etc/shadow
|
||||
|
||||
|
||||
Reference in New Issue
Block a user