Sign inSign up

potz/gitolite

By potz

•Updated over 10 years ago

Image
0

404

potz/gitolite repository overview

⁠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⁠.

Tag summary

Content type

Image

Digest

sha256:ad321857a…

Size

22.8 MB

Last updated

over 10 years ago

docker pull potz/gitolite