Skip to content
This repository has been archived by the owner on Oct 3, 2021. It is now read-only.

tonyseek/docker-devpi

Repository files navigation

Docker Pulls Docker Stars Docker Image Size

devpi-docker

The Docker image of devpi with LDAP integration.

Quick Start

Create the data directory:

docker run --rm --volume ./lib/devpi:/var/lib/devpi \
    tonyseek/devpi:4.4.0-1 --init

Run the server:

docker run --rm --volume ./lib/devpi:/var/lib/devpi \
    tonyseek/devpi:4.4.0-1

Upgrading

Export data from the volume of old container:

docker run --rm --volume ./lib/devpi:/var/lib/devpi \
    --volume ./backup:/var/lib/devpi-backup tonyseek/devpi:$OLD_VERSION \
    --export /var/lib/devpi-backup

Import data to the volume of new container:

docker run --rm --volume ./lib/devpi:/var/lib/devpi \
    --volume ./backup:/var/lib/devpi-backup tonyseek/devpi:4.4.0-1 \
    --import /var/lib/devpi-backup

Development

The docker-compose makes development be easy:

make init
make up

Once the requirements.in was changed, the requirements.txt should be compiled again:

make compile-deps

More commands are described in make help.

Contributing

If you want to report bugs or request features, please feel free to open issues or pull requests on GitHub.