A bare bones git server over HTTP. It hosts a single repository that lives as long as the Docker process is alive.
To build the container and start it, run the following:
$ docker build -t git-http .
$ docker run -ti -p 8080:80 git-httpIn another shell, you can add a remote and push to it.
$ git remote add origin http://localhost:8080
$ git push origin mainThis setup is loosely based off this guide and this repository.