Skip to content

juanformoso/devpi_docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Pulls

Summary

Docker container for using devpi server with ubuntu, heavily inspired by (and some things borrowed from) apihackers/docker-devpi

Docker image hosted in https://hub.docker.com/r/juanformoso/devpi_docker/

Getting the image

docker pull juanformoso/devpi_docker

Running your private pypi server

The $DEVPI_PASSWORD environment variable will set the root password on first run.

docker run -e "DEVPI_PASSWORD=password" -d -p 3141:3141 --name devpi juanformoso/devpi_docker

To mount your own local devpi cache directory:

docker run -d -v /path/to/devpi/home:/devpi juanformoso/devpi_docker

pip

Use a configuration similar to this in your ~/.pip/pip.conf:

[global]
index-url = http://localhost:3141/root/pypi/+simple/

setuptools

Use a configuration similar to this in your ~/.pydistutils.cfg:

[easy_install]
index_url = http://localhost:3141/root/pypi/+simple/

About

Docker image to use devpi server with ubuntu

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published