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

Uploaded Source

Built Distribution

grocker-8.0-py3-none-any.whl (24.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: grocker-8.0.tar.gz
  • Upload date:
  • Size: 18.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2

File hashes

Hashes for grocker-8.0.tar.gz
Algorithm Hash digest
SHA256 f045e8034b41d0cc60ed76d7500af17c2a0eb3a57395682baee7520450adfefb
MD5 48f2c7877a8872124ca5610e7d3cdb25
BLAKE2b-256 912215a55fbf6c99cb78d83824582dde641440400770d23b0d0a6bbceec09959

See more details on using hashes here.

File details

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

File metadata

  • Download URL: grocker-8.0-py3-none-any.whl
  • Upload date:
  • Size: 24.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2

File hashes

Hashes for grocker-8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ed3557825cf321c33b6fb580fbeec1cf3997a127f3905621b74359d6c75000b3
MD5 640965bfbc1fdcb5fbc5db62dc0cc283
BLAKE2b-256 327ad81032386ea215a71d0c70670043a47c93dd821296af3be843d82a21c41e

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