mirror of
https://github.com/nix-community/docker-nixpkgs.git
synced 2026-01-12 04:40:42 -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
|
ln -s /nix/var/nix/profiles/default/bin/bash bin/bash
|
||||||
|
|
||||||
# setup shadow, bashrc
|
# setup shadow, bashrc
|
||||||
|
mkdir home
|
||||||
cp -r ${./root/etc} etc
|
cp -r ${./root/etc} etc
|
||||||
chmod +w etc etc/group etc/passwd etc/shadow
|
chmod +w etc etc/group etc/passwd etc/shadow
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user