HUB
Sign inSign up
pytest-docker-git-fixtures-docker logo

crashvb/pytest-docker-git-fixtures-docker

By crashvb

•Updated almost 4 years ago

A minimalistic apache2+git setup for testing with pytest-docker-git-fixtures.

Image
0

748

crashvb/pytest-docker-git-fixtures-docker repository overview

⁠pytest-docker-git-fixtures-docker

version) image size linting license

⁠Overview

This docker image is a minimalistic apache2+git setup for testing with pytest-docker-git-fixtures⁠.

⁠Usage

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.

⁠Entrypoint Scripts

⁠init-repos

The embedded entrypoint script is located at /etc/entrypoint.d/init-repos and performs the following actions:

  1. The /bin/create-repo command is invoked for all repos contained in PDGF_CREATE_REPOS.
  2. The /bin/mirror-repo command is invoked for all repos contained in PDGF_MIRROR_REPOS. None.

⁠Standard Configuration

⁠Container Layout
/
├─ bin/
│  ├─ allow-user
│  ├─ create-repo
│  └─ mirror-repo
├─ etc/
│  └─ apache2/
│     └─ vhosts.d/
│        └─ git
└─ srv/
   └─ git/
⁠Exposed Ports

None.

⁠Volumes

None.

⁠Development

Source Control⁠

Tag summary

Content type

Image

Digest

sha256:432bfbd0f…

Size

112.9 MB

Last updated

almost 4 years ago

docker pull crashvb/pytest-docker-git-fixtures-docker