nodejs / unofficial-builds

Unofficial binaries for Node.js
https://unofficial-builds.nodejs.org
242 stars 50 forks source link

Allow setting user and group ID #41

Closed richardlau closed 3 years ago

richardlau commented 3 years ago

Allow the user ID and group IDs to be changed when preparing the images for running/testing on systems where the host is running under a user with a user ID other than 1000.

I'm testing out some changes and the system I'm using is shared so my user id is not 1000. This PR allows me to only have to modify one place (bin/prepare-images.sh) to change the user id so I can successfully mount the shared directories from the host.