Docker container to run a gitolite instance.
-
Clone this repo
git clone https://github.com/philsc/docker-gitolite.git -
Copy the admin key into the directory
cp ~/.ssh/id_rsa.pub ./docker-gitolite/ -
Build the docker container
./docker-gitolite/build.sh -
Run the container to test
sudo ./docker-gitolite/run.sh -
And install a startup script depending on your choice of init system.
sudo ./docker-gitolite/install.sh upstart sudo ./docker-gitolite/install.sh systemd