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.2.tar.gz (17.9 kB view details)

Uploaded Source

Built Distribution

grocker-8.2-py3-none-any.whl (23.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for grocker-8.2.tar.gz
Algorithm Hash digest
SHA256 f5126e423a11dbb2c6796620c3dbae931eab5d48dbac6adf837bc9f037e4eb15
MD5 ac8f24afb41ee0c039002bb74a4ca298
BLAKE2b-256 c1205f1a4fe73ae124b2791fceae3991d6ad6eb669d12a88fbf9cbf65b95dfd7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: grocker-8.2-py3-none-any.whl
  • Upload date:
  • Size: 23.7 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e992929131ef604951fd5b343cead62851be7df3ec4e6b2e40ba48bee9f70388
MD5 28df44eaaabff953833e6ed5ddfc6fb8
BLAKE2b-256 3bc9daa229a7be9ef7f45505bfbbb89c4621de5fab38d4b15d877641eb715ea0

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