Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid hardcoded UID and GID in docker build
The [Dockerfile](/Dockerfile) uses `UID` and `GID` args to create a user inside the container. Files are then written during build on behalf of this user, to avoid permission problems. Mistakenly, these variables were both hardcoded to `1000`, which is fine for a single-user Linux host, bot not for macOS. This PR passes `UID` and `GID` from the host system as build args, so that the files are written on behalf of the the current user.
- Loading branch information