git-server-docker icon indicating copy to clipboard operation
git-server-docker copied to clipboard

Abandoned Project?

Open rockstorm101 opened this issue 2 years ago • 1 comments

Sadly, this project has seen no updates since 2017. I've decided to have a go a packaging a very close solution, which hopefully solves some of the open issues from this project and adds some other useful utilities:

  • A single authorized_keys file is used, instead of copying keys onto it from a directory (Avoids #17 and #26)
  • ARM builds provided (Fixes #16 and #28)
  • Allow custom SSH host keys (Fixes #13 and #15)
  • Coded from scratch and therefore with a new (GPL-3.0) license (Fixes #8)
  • Admin commands added to allow the git user to create/remove repositories instead of forcing making it from the host (in an attempt to simplify the novice user experience).
  • Allow setting the UID/GID of the git user (to slightly mitigate the permissions issues when modifying files from both the host and the container)
  • A variant of the image is provided which includes Docker CLI (to allow the git server to start other containers, e.g. to run CI/CD actions)

https://github.com/rockstorm101/git-server-docker

Any comments or suggestions, please let me know. Hope you find this useful.

rockstorm101 avatar Apr 29 '22 09:04 rockstorm101

A few years ago, I also wrote another minimal git server inspired by this (abandoned ?) project.

I recently improved it and made the code available here: https://github.com/mcarbonne/minimal-git-server

My initial requirements were slightly different: multi-users support and self-management (i.e. every user can create and manage its repositories without having a full SSH access).

mcarbonne avatar Feb 05 '24 18:02 mcarbonne