This docker image contains gitolite and gitweb.
The embedded entrypoint script is located at /etc/entrypoint.d/30gitolite
and performs the following actions:
- Onwership and permissions are applied recursively to the
$GITOLITE_HOME/repositories
. - The
gitolite-admin.git
repository is generated.
The embedded entrypoint script is located at /etc/entrypoint.d/40gitweb
and performs the following actions:
- A new gitweb configuration is generated using the following environment variables:
Variable | Default Value | Description |
---|---|---|
GITWEB_PROJECTROOT | $GITOLITE_HOME/repositories | Absolute filesystem path which will be prepended to project path. |
GITWEB_PROJECTS_LIST | $GITWEB_PROJECTROOT | Name of a plain text file listing projects, or a name of directory to be scanned for projects. |
GITWEB_USERS | admin | The list of users to be allowed access. |
- Ownership and permissions are applied to the
projects.list
.
The embedded entrypoint script is located at /etc/entrypoint.d/20sshc
and performs the following actions:
- SSH keypairs are generated for the following users:
root
.
The embedded entrypoint script is located at /etc/entrypoint.d/10sshd
and performs the following actions:
- The SSH host keys are generated.
/
├─ etc/
│ ├─ entrypoint.d/
│ │ ├─ 10sshd
│ │ ├─ 20sshc
│ │ ├─ 30gitolite
│ │ └─ 40gitweb
│ ├─ healthcheck.d/
│ │ └─ sshd
│ ├─ ssh/
│ ├─ supervisor/
│ │ └─ config.d/
│ │ └─ sshd.conf
│ └─ gitweb.conf
├─ run/
│ └─ secrets/
│ ├─ id_rsa.root
│ ├─ id_rsa.root.pub
│ └─ getweb_<user>_password
├─ usr/
│ └─ share/
│ ├─ gitolite/
│ ├─ gitweb/
│ │ └─ .htaccess
│ └─ gitweb-theme/
└─ var/
└─ lib/
└─ git/
└─ repositories/
└─ gitolite-admin.git/
22/tcp
- sshd listening port.
/etc/ssh
- The SSH configuration directory./var/lib/git
- The gitolite home directory.