Fix file permissions

Using the user's uid and gid in the container prevents the output files
to belong to root.
This commit is contained in:
Gereon Frey 2019-02-24 14:25:24 +01:00 committed by Stéphane Goetz
parent 59fa9fb3ab
commit 5f616782fd

View File

@ -71,7 +71,7 @@ If the command isn't found, ensure your `$PATH` contains `~/.composer/vendor/bin
Or if you wish to use Docker, the start of the command will be : Or if you wish to use Docker, the start of the command will be :
```bash ```bash
docker run --rm -it -w /build -v "$PWD":/build daux/daux.io daux docker run --rm -it -w /build -v "$PWD":/build -u "$(id -u):$(id -g)" daux/daux.io daux
``` ```
## Run on a server ## Run on a server