Sem descrição

dependabot[bot] 8ee37c7edf build(deps): bump docker/setup-buildx-action from 3.6.1 to 3.7.1 (#76) há 2 meses atrás
.github 8ee37c7edf build(deps): bump docker/setup-buildx-action from 3.6.1 to 3.7.1 (#76) há 2 meses atrás
CHANGELOG.md 40d23bf8a8 sshd: no longer accept RSA keys < 2048 bits for authentication há 1 ano atrás
Dockerfile 35a9c8c789 upgrade git package from v1:2.39.2-1.1 to v1:2.39.5-0+deb12u1 há 3 meses atrás
Makefile d5859c0edf makefile: fix missing architecture suffix in image tag há 3 anos atrás
README.md 8fd4a52135 readme: added link to docker hub & quay.io há 3 anos atrás
docker-compose.yml d79fbf5548 docker-compose: increase memory limit to support large repos (git-remote-gcrypt?) há 3 anos atrás
entrypoint.sh 61ce3306d2 entrypoint: unset processed env vars há 3 anos atrás
sshd_config 40d23bf8a8 sshd: no longer accept RSA keys < 2048 bits for authentication há 1 ano atrás

README.md

docker: gitolite 💾 🐳 🐙

OpenSSH server with Gitolite command filter including support for git-annex

$ sudo docker run --name gitolite \
    -v gitolite_ssh_host_keys:/etc/ssh/host_keys \
    -v gitolite_data:/var/lib/gitolite \
    -p 2200:2200 \
    -e GITOLITE_INITIAL_ADMIN_NAME=someone \
    -e GITOLITE_USER_PUBLIC_KEY_someone="$(cat ~/.ssh/id_*.pub)" \
    --read-only --cap-drop=ALL --security-opt=no-new-privileges \
    docker.io/fphammerle/gitolite

$ ssh -p 2200 -T git@localhost
hello someone, this is git@hostname running gitolite3 3.6.11-2 (Debian) on git 2.20.1

 R W	gitolite-admin
 R W	testing

$ git clone ssh://git@localhost:2200/gitolite-admin.git

$ git clone ssh://git@localhost:2200/testing.git

sudo docker may be replaced with podman.

Pre-built docker images are available at https://hub.docker.com/r/fphammerle/gitolite/tags (mirror: https://quay.io/repository/fphammerle/gitolite?tab=tags)

Annotation of signed git tags docker/* contains docker image digests: https://github.com/fphammerle/docker-gitolite/tags

Detached signatures of images are available at https://github.com/fphammerle/container-image-sigstore (exluding automatically built latest tag).

Docker Compose 🐙

  1. git clone https://github.com/fphammerle/docker-gitolite
  2. Adapt GITOLITE_INITIAL_ADMIN_NAME and GITOLITE_USER_PUBLIC_KEY_* in docker-compose.yml
  3. docker-compose up --build