A minimalistic apache2+git setup for testing with pytest-docker-git-fixtures.
748
This docker image is a minimalistic apache2+git setup for testing with pytest-docker-git-fixtures.
Bare repositories can be provisioned under /srv/git using create-repo, and credentials can be provisioned in /srv/git/.htpasswd using allow-user. Repositories are served with anonymous read / authenticated write under the location /insecure/<repo>.git, and with authenticated read and write under /secure/<repo>.git.
The embedded entrypoint script is located at /etc/entrypoint.d/init-repos and performs the following actions:
/bin/create-repo command is invoked for all repos contained in PDGF_CREATE_REPOS./bin/mirror-repo command is invoked for all repos contained in PDGF_MIRROR_REPOS.
None./
├─ bin/
│ ├─ allow-user
│ ├─ create-repo
│ └─ mirror-repo
├─ etc/
│ └─ apache2/
│ └─ vhosts.d/
│ └─ git
└─ srv/
└─ git/
None.
None.
Content type
Image
Digest
sha256:432bfbd0f…
Size
112.9 MB
Last updated
almost 4 years ago
docker pull crashvb/pytest-docker-git-fixtures-docker