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.

$ grocker build ./path/to/ipython-7.1.1-py3-none-any.whl --entrypoint ipython
$ docker run --rm -ti ipython: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.6.tar.gz (16.7 kB view details)

Uploaded Source

Built Distribution

grocker-6.6-py2.py3-none-any.whl (25.8 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: grocker-6.6.tar.gz
  • Upload date:
  • Size: 16.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.9.1 pkginfo/1.4.1 requests/2.18.4 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.19.4 CPython/3.6.7

File hashes

Hashes for grocker-6.6.tar.gz
Algorithm Hash digest
SHA256 4c3980580e5f63d16348e14fad3fdef8af9cb0b96274509b2bedc61a5e404fc1
MD5 ecedac76d5c4a7dbd9d3ee71324315e4
BLAKE2b-256 cb36958021a6e065091b80b2f9366886d0bc83d8c7b4511bbb62f5f3bb19142f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: grocker-6.6-py2.py3-none-any.whl
  • Upload date:
  • Size: 25.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.9.1 pkginfo/1.4.1 requests/2.18.4 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.19.4 CPython/3.6.7

File hashes

Hashes for grocker-6.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1e1a8bc96a9b5d7fef2d5abe7e07e4caaf3c87c9184629a07fc8054e2e375952
MD5 ad484b108d7a8bed3bc726ff2326f08f
BLAKE2b-256 4a9dffd80e36aa21e551d3e4a14ca27f0714ad40f9b996fc517916770ed59f64

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