Docker image builder
Project description
Grocker - a Docker image builder for Python applications
Grocker allows you to bundle your Python applications as Docker image while keeping the image size as minimal as possible.
Grocker uses debian:jessie, debian:stretch or alpine:latest as its base image.
Grocker is hosted on Github at https://github.com/polyconseil/Grocker. Grocker full documentation is available on https://grocker.readthedocs.io/.
Installation
Install Docker Engine. See its official documentation.
Install Grocker with pip: pip install grocker.
Basic usage
$ grocker build ipython==5.0.0 --entrypoint ipython
$ docker run --rm -ti ipython:5.0.0-<grocker-version>
Direct wheel path
A wheel can also be directly passed to grocker to avoid the need to upload an artefact to build an image.
Grocker will switch to this mode if a / is present in the argument.
$ grocker build ./path/to/ipython-7.1.1-py3-none-any.whl --entrypoint ipython
$ docker run --rm -ti ipython:7.1.1-<grocker-version>
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for grocker-6.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 962e314873da6d5f92658b87c70f978cd1f480bf70a91be7e6e95e5028cd2c3e |
|
MD5 | dcada18491b5f1615612b240153f6e89 |
|
BLAKE2b-256 | b4c4135a15ee54024296cdd2ab58d6e67a4b661aa414eddc4be0a499881d8f23 |