An alpine:3.3 with python3.5 image and devpi-server (latest-stable)
1.7K
Heavily inspired by muccg/devpi. But this image uses alpine as base and has a much smaller footprint. < 78MB
Latest devpi-server version inside a docker-container. This uses alpine:3.3 as the base image, for a minimal footprint. This image is built without the devpi-client installed however on first initialization it will be installed in order to set the root password, but once the server is initialized it will prompt you (if in interactive mode) if you would like to remove devpi-client. If not in interactive mode it will remove devpi-client.
This image uses the --restrict-modify flag to restrict creation of new users and indexes
to the root user. The root user's password should be set with the DEVPI_PASSWORD
environment variable.
$ docker pull mhoush/devpi-server
$ docker run -d --name devpi-server\
-e DEVPI_PASSWORD=password \ # root user password
-e DEVPI_PORT=3144 \ # use a custom port (default 3141)
-v "${PWD}/data":/data \ # to persist data to the host
-p "80:3144" \
mhoush/devpi-server --web # enable devpi-web interface
To maintain the smallest footprint for the use case, this image only comes with devpi-server. The below options will install the devpi-web or devpi-client interfaces accordingly. All other options get passed into the devpi-server command used to start the server.
You can use below command to see available devpi-server options:
$ docker run -it --rm mhoush/devpi-server --help
The following options are available to be set through enviornment variables.
Content type
Image
Digest
Size
21.9 MB
Last updated
about 5 years ago
docker pull mhoush/devpi-server