Public | Automated Build

Last pushed: 2 years ago
Short Description
A dockerized devpi (PyPi) server for local development purposes
Full Description

docker.devpi-server

A dockerized devpi (PyPi) server.
See more on the devpi project at http://doc.devpi.net/latest/index.html

Run server

Build the image:

docker build -t local/devpi-server .

Run a local instance of a devpi server:

docker run -d -p 3141:3141 --name devpi-server local/devpi-server

Create an index for development

Suppose the devpi-server is running as a container, and we want to create an index
(based on root/pypi) for user tester. We can use one-off client containers for this task:

# Create devpi user named `tester`
docker run -it --rm --link devpi-server:devpi-server \
   local/devpi-server bash scripts/create-user.sh tester

# Login and create index tester/devel based on root/pypi
docker run -it --rm --link devpi-server:devpi-server \
   local/devpi-server bash scripts/create-index.sh tester/devel
Docker Pull Command
Owner
alexakis
Source Repository

Comments (0)