Public | Automated Build

Last pushed: a year ago
Short Description
Short description is empty for this repo.
Full Description

Gitolite docker image

Dockerized version of the excellent Gitolite git administration tool.

Based on Alpine Linux, image size 67.49 MB.

Sample usage

# 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

TODO

  • Trap SIGINT somehow and exit

License

This code is released under the MIT License.

Docker Pull Command
Owner
potz
Source Repository

Comments (0)