Skip to main content

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

  1. Install Docker Engine. See its official documentation.

  2. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

grocker-6.9.1.tar.gz (18.6 kB view details)

Uploaded Source

Built Distribution

grocker-6.9.1-py2.py3-none-any.whl (25.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file grocker-6.9.1.tar.gz.

File metadata

  • Download URL: grocker-6.9.1.tar.gz
  • Upload date:
  • Size: 18.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2

File hashes

Hashes for grocker-6.9.1.tar.gz
Algorithm Hash digest
SHA256 6d50bd5f05dfcb8990033f3f8e9ec0b17e666bbdbe0462df0a9135fff7fc9234
MD5 60685a3e4ea881f050893788f52d7ade
BLAKE2b-256 87b954a5736b20278c8de2e92a1923736386e04e47184d20cfb5a6de5ba2117d

See more details on using hashes here.

File details

Details for the file grocker-6.9.1-py2.py3-none-any.whl.

File metadata

  • Download URL: grocker-6.9.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 25.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2

File hashes

Hashes for grocker-6.9.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0a7c226eeee812bfdd0ff002383bf19273a08d2b1e1268a94887fd986e1eb65c
MD5 cd30569e460b44c9b01590992acb9f3b
BLAKE2b-256 f50ad2e572f5f6cfb692da6147a3653c41a26cc485b9984f16fd96fc728464c6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page