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

Uploaded Source

Built Distribution

grocker-6.5-py2.py3-none-any.whl (25.6 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: grocker-6.5.tar.gz
  • Upload date:
  • Size: 16.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

File hashes

Hashes for grocker-6.5.tar.gz
Algorithm Hash digest
SHA256 424c54aa300d2e51d7b52fef394147066a679b18768405023b08a947da74a846
MD5 de395066ac4d8842f1e85a21944dfe4a
BLAKE2b-256 d26a4173697b6f0fbcce5e06d262fcd66ec8d9bb09c26d25b7bc561bacd7a31e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: grocker-6.5-py2.py3-none-any.whl
  • Upload date:
  • Size: 25.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

File hashes

Hashes for grocker-6.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9b13cf53641819329b13f75cfbc8a0bdbd62562c0abf15de25190ca6ec7fc142
MD5 c6474c0bb8b773a2edc10d322ed87cfb
BLAKE2b-256 f66da926bc539efa777c72635d41cac382895569735cc7e51c779d61fba05ef8

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