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. 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>
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file grocker-6.8.tar.gz.
File metadata
- Download URL: grocker-6.8.tar.gz
- Upload date:
- Size: 18.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3852bf5d043f8703a8593d603597a81f328f167323be3c7a5ae599e8c22468a4
|
|
| MD5 |
0c3c15950a9f5fe51df51d0c8c9ccff8
|
|
| BLAKE2b-256 |
086b67aa04dee74b0286b8eac6abcd24b7adfa1d42a1720d4206a3422992eeac
|
File details
Details for the file grocker-6.8-py2.py3-none-any.whl.
File metadata
- Download URL: grocker-6.8-py2.py3-none-any.whl
- Upload date:
- Size: 25.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f572b69a78feddd685fba01f18f407a035409aa7ab747edbd2069a62af32b243
|
|
| MD5 |
bbcfe70d97ff9ee361bb391515a5af4b
|
|
| BLAKE2b-256 |
1b49ab1eb0e60637c1f4c2c91b1d01faab9c7532d538fccd50c93bc093602748
|