logo

dotfiles

My dotfiles, one branch per machine, rebased on base git clone https://anongit.hacktivis.me/git/dotfiles.git/

npm (291B)


  1. #!/bin/execlineb -s0
  2. getcwd -E PWD
  3. bwrap
  4. --die-with-parent
  5. --unshare-all
  6. --share-net
  7. --ro-bind / / # On my ZFS machines that's just the OS, bind mounts doesn't recurses
  8. --tmpfs /tmp
  9. --dir /sysroot
  10. --bind $PWD /sysroot
  11. --chdir /sysroot
  12. --proc /proc
  13. --dev /dev
  14. -- /usr/bin/npm "$@"