Dockerized version of the excellent Gitolite git administration tool.
Based on Alpine Linux, image size 67.49 MB.
# Setup the volumes to hold SSH keys and gitolite data
$ docker volume create --name gitolite-ssh
$ docker volume create --name gitolite-data
# Just initialize the server with your own ssh key, that will be saved on the volumes
$ docker run --rm -e SSH_KEY="$(cat ~/.ssh/id_rsa.pub)" -v gitolite-ssh:/etc/ssh -v gitolite-data:/var/lib/git potz/gitolite true
# Run the gitolite server
$ docker run -v gitolite-ssh:/etc/ssh -v gitolite-data:/var/lib/git -d --name gitolite potz/gitolite
This code is released under the MIT License.
Content type
Image
Digest
sha256:ad321857a…
Size
22.8 MB
Last updated
over 10 years ago
docker pull potz/gitolite