A copy of devpi wrapped in a docker image with ldap support.
1.5K
A copy of devpi wrapped in a docker image with LDAP support.
The data is stored in /data make sure to mount a volume there so that your repo becomes persistent. The docker will run the devpi server process as whatever user owns the mounted /data directory. On Windows and MacOS this is root, but on Linux this will be whatever user owns the directory. This is done so that when running the docker as a normal user, it will not create files you do not own. Obviously, this also opens the door wide for abuse, but that is a problem of dockers way to access filesystems.
Devpi listens on port
31411
Use the following environment variables to customize behavior.
DEVPISERVER_DEVPI_LDAP_URL: ldaps://ds1.example.com
DEVPISERVER_DEVPI_USER_TEMPLATE: uid={username},ou=users,dc=example,dc=com
DEVPISERVER_DEVPI_GROUP_SEARCH_BASE: ou=groups,dc=example,dc=com
DEVPISERVER_DEVPI_GROUP_FILTER: (&(objectClass=posixGroup)(memberUid={username}))
DEVPISERVER_DEVPI_GROUP_ATTRIBUTE_NAME: uid
This image is part of the IT'IS foundation docker files repo in https://github.com/ITISFoundation/dockerfiles/devpi
Content type
Image
Digest
Size
46.6 MB
Last updated
over 7 years ago
docker pull itisfoundation/devpi