UID and GID args can now be set during build,
so following the example command in the README should fix
#2
by providing a UID and GID that exist on the host
so that the directories owned by git in the container
can be bind mounted on the host.
Community maintained Docker config for the knot server
Add UID and GID arguments to Dockerfile
#11
merged
opened by
STACK 2
expand 1 commit
hide 1 commit
Add
UID and GID arguments to Dockerfile
`UID` and `GID` args can now be set during build,
so following the example command in the README should fix
[#2](https://tangled.sh/@tangled.sh/knot-docker/issues/2)
by providing a `UID` and `GID` that exist on the host
so that the directories owned by git in the container
can be bind mounted on the host.
actually i think that's probably overkill, arg should be fine
@knotbin.com it wouldn't be overkill for those of us running the prebuilt image
pull request successfully merged
The UID and GID arguments should probably be env variables so they can be changed in managed environments like Coolify or Railway but if it's too hard to resubmit the PR with JJ, I can just merge and patch this after.