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: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>

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-8.3.tar.gz (18.2 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.3-py3-none-any.whl (24.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: grocker-8.3.tar.gz
  • Upload date:
  • Size: 18.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for grocker-8.3.tar.gz
Algorithm Hash digest
SHA256 304f38ca2d192f6161f3221b868ad37cf85de6ad846ad97db86f56140d7fa7b9
MD5 648e43be19e100838f28e67d2424a68c
BLAKE2b-256 3628574ee4f6603d173752a2e15cecd7f24216d24aca1e82fa0c91b33d5d2bbb

See more details on using hashes here.

Provenance

The following attestation bundles were made for grocker-8.3.tar.gz:

Publisher: publish-to-pypi.yml on Polyconseil/grocker

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: grocker-8.3-py3-none-any.whl
  • Upload date:
  • Size: 24.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for grocker-8.3-py3-none-any.whl
Algorithm Hash digest
SHA256 16f4eebb2fb4ac78494cc1b5903830b3086842979ddfd3c4019afe238c03f2e4
MD5 45a952a02ec73735b2fc72905f2d2436
BLAKE2b-256 edefce47d82c0111586413963f2afa5993c6f60e2b913e43b4658d2869675a5e

See more details on using hashes here.

Provenance

The following attestation bundles were made for grocker-8.3-py3-none-any.whl:

Publisher: publish-to-pypi.yml on Polyconseil/grocker

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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