···29The command above for example will build the latest commit on the `master`
30branch.
310000000000032<hr style="margin-bottom: 20px; margin-top: 10px" />
3334When using compose, it can be specified as a build argument which will be
···29The command above for example will build the latest commit on the `master`
30branch.
3132+By default it will also create a `git` user with user and group ID 1000:1000,
33+but you can change it with the `UID` and `GID` build arguments.
34+35+```sh
36+docker build -t knot:latest --build-arg UID=(id -u) GID=(id -u)
37+```
38+39+The command above for example will create a user with the host user's UID and GID.
40+This is useful if you are bind mounting the repositories and app folder on the host,
41+as in the provided `docker-compose.yml` file.
42+43<hr style="margin-bottom: 20px; margin-top: 10px" />
4445When using compose, it can be specified as a build argument which will be