A Docker image based on Alpine and as a fork of Apihackers DevPi that runs a devpi server (a PyPi Cache) with a frontend (devpi-web, devpi-theme-16).
The user root with empty password is added after starting the server. Please add a user and change the root password right away.
docker run -d -p 3141:3141 --name devpi-server shocki/devpi-server
To mount your own local devpi cache directory:
docker run -d -v /path/to/devpi/home:/devpi shocki/devpi-server
Use a configuration similar to this in your ~/.pip/pip.conf
:
[global]
index-url = http:https://localhost:3141/root/pypi/+simple/
Use a configuration similar to this in your ~/.pydistutils.cfg
:
[easy_install]
index_url = http:https://localhost:3141/root/pypi/+simple/