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. Pip extra
requirements can be used in this mode.
$ grocker build ./path/to/ipython-7.1.1-py3-none-any.whl[doc] --entrypoint ipython
$ docker run --rm -ti ipython-doc:7.1.1-<grocker-version>
Topics¶
- Grocker - a Docker image builder for Python applications
- Installation
- Basic usage
- Direct wheel path
- How the Docker image is built
- Advanced usage
- Troubleshooting
- Talks
- ChangeLog
- 6.8 (2019-11-18)
- 6.7 (2019-02-19)
- 6.6 (2019-01-18)
- 6.5 (2018-11-28)
- 6.4 (2018-11-28)
- 6.3 (2018-05-25)
- 6.2.1 (2018-04-16)
- 6.2 (2018-02-07)
- 6.1 (2017-11-15)
- 6.0 (2017-10-25)
- 5.4 (2017-10-12)
- 5.3 (2017-08-21)
- 5.2 (2017-07-18)
- 5.1 (2017-06-07)
- 5.0 (2017-03-10)
- 4.6 (2016-12-22)
- 4.5 (2016-12-19)
- 4.4 (2016-11-22)
- 4.3.2 (2016-11-09)
- 4.3.1 (2016-11-09)
- 4.3 (2016-11-08)
- 4.2 (2016-10-13)
- 4.1 (2016-09-19)
- 4.0 (2016-07-20)
- Grocker 3.0.1 (2016-06-06)
- Grocker 3.0.0 (2016-06-06)
- Grocker 2.4.2 (2016-04-11)
- Grocker 2.4.1 (2016-04-11)
- Grocker 2.4.0 (2016-04-11)
- Grocker 2.3.1 (2016-03-03)
- Grocker 2.3.0 (2016-03-03)
- Grocker 2.2.0 (2016-02-24)
- Grocker 2.1.0 (2016-02-11)
- Grocker 2.0.1
- Grocker 2.0.0