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?
Submissions
4 commits
expand
collapse
Add authorized_keys_command.conf with correct git directory
Add UID and GID arguments to Dockerfile
This lets you specify the UID and GID of the `git` user during build.
The repository and app directories are owned by this `git` user.
typo
another typo
I swear the Dockerfile itself is correct I am just typoing the README
closed without merging
1 commit
expand
collapse
Add authorized_keys_command.conf with correct git directory
I also added UID and GID args that can be set during build, so following the example command should fix #2 by providing a UID and GID that exist on the host so that the directories owned by
gitin the container can be bind mounted on the host. (I'm not sure how to change the title of the PR to reflect this...)