Sign inSign up

harobed/gitolite

By harobed

Updated almost 8 years ago

Docker image for Gittolite (http://gitolite.com/gitolite/index.html)

Image
0

540

harobed/gitolite repository overview

Docker Gittolite

Docker image for Gittolite

This Gitolite Docker Image (255Mo) is based on Debian Jessie, I'll maybe migrate it to Alpine in the future.

Rationalize - « Why yet another Gitolite Docker image project? »

I have created this Gitolite Docker image in june 2017 for a personnal project.

One year later, I have forgotten what project I have forked and why it.

Why do you use Gitolite instead GitLab, Gogs or Phabricator?
I would like write a tutorial post to explain how to use git-subrepo then I need lightning Git hosting on a central server like Gitolite to publish a demo.

Other Gitolite Docker image projects:

How to use harobed/gitolite Docker image?

Use this docker-compose.yml file:

version: '3.7'
services:
  debian:
    image: harobed/gitolite:latest
    environment:
      - SSH_KEY=...your public ssh key...
    ports:
      - "1234:22"
    volumes:
      - ./data/git/:/home/git/repositories/
      - ./data/ssh/:/etc/ssh/

Launch it:

$ docker-compose up -d
$ git clone ssh://[email protected]:1234/gitolite-admin
$ cat gitolite-admin/conf/gitolite.conf
repo gitolite-admin
    RW+     =   admin

repo testing
    RW+     =   @all

See demo/ for a comprehensive demo.

How to build and push harobed/gitolite Docker Image?

$ ./scripts/build.sh
$ ./scripts/push.sh

Tag summary

Content type

Image

Digest

Size

110.4 MB

Last updated

almost 8 years ago

docker pull harobed/gitolite