I couldn't push or pull from any repositories until I set -git-dir following the instructions in knot-hosting, so maybe this file should just created when creating the Dockerfile?
ERROR
Dockerfile
ERROR
Dockerfile
Failed to calculate interdiff for this file.
REVERTED
readme.md
REVERTED
readme.md
···
29
The command above for example will build the latest commit on the `master`
30
branch.
31
32
-
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" />
44
45
When using compose, it can be specified as a build argument which will be