Skip to main content

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:buster, debian:bookworm 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>

Download files

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

Source Distribution

grocker-8.1.tar.gz (17.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

grocker-8.1-py3-none-any.whl (23.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: grocker-8.1.tar.gz
  • Upload date:
  • Size: 17.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for grocker-8.1.tar.gz
Algorithm Hash digest
SHA256 88d5905de6823472cac4b1da6742e6d76fd891e7ff6ff880c9d4e1ec5591ae82
MD5 d60dd3620d18394da47aa38a1d9abe49
BLAKE2b-256 152616a99cdba22f70ce464ba042afc48e426b505615759b19d025bc98f54a38

See more details on using hashes here.

File details

Details for the file grocker-8.1-py3-none-any.whl.

File metadata

  • Download URL: grocker-8.1-py3-none-any.whl
  • Upload date:
  • Size: 23.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for grocker-8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 35c0e9b93e7387fabf4f7ef8b87251cc55f6c252b5a6907bf90c69ea4a001b07
MD5 c4041d36c047391c0d1c87f3a34e3287
BLAKE2b-256 74caeb5decdd6bb8746c2969b5144711418a64f73b392b5e7da5d49091279120

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page