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?
Community maintained Docker config for the knot server
Add authorized_keys_command.conf to Dockerfile
#4
closed
opened by
expand 1 commit
hide 1 commit
Add authorized_keys_command.conf with correct git directory
expand 2 commits
hide 2 commits
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.
expand 3 commits
hide 3 commits
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
expand 4 commits
hide 4 commits
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
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...)