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

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: grocker-6.7.tar.gz
  • Upload date:
  • Size: 17.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for grocker-6.7.tar.gz
Algorithm Hash digest
SHA256 c49b8f5ce40de6ec0ba2550227675df6f793b80ab1ab8e67495b883933b77691
MD5 93e6f62e8ab91b058d669dadbf370290
BLAKE2b-256 03ad0bfd3c5f6b56aec264a1a64a6f8a49516648015f7a32d37767d194b80f1b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: grocker-6.7-py2.py3-none-any.whl
  • Upload date:
  • Size: 25.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for grocker-6.7-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 729c3be2b90408fabc20462569f92303d8bd38dc50c513239770d2c976767fc2
MD5 01f6ff904f3cfff4c3bd1f2d9a299271
BLAKE2b-256 41d67c7e6566ab99547984cc6b3a845d346b90fcf1e23d88ca89688a641525ca

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