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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: grocker-7.0.1.tar.gz
  • Upload date:
  • Size: 18.1 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.1

File hashes

Hashes for grocker-7.0.1.tar.gz
Algorithm Hash digest
SHA256 7f6234ee2a68b802de3029b791fd1c106fac503640ed29f2cc867b20fe47d467
MD5 a13ac6dba55b8dd7f5d6cff658a8605e
BLAKE2b-256 5709183402cbebd2b6fd3ab06b7271b8c7b67314302e46662d48140161824ec8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: grocker-7.0.1-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.1

File hashes

Hashes for grocker-7.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5ee3fd531715e84c332e0c9c0dc37a86bc4159734980949b63e1a664b6cd87af
MD5 d28799165c2561fcfbb2681a0707fce3
BLAKE2b-256 1631de26aa3cc12c9beb03e2ddec280649268144fff2891c8b0e001531b5b129

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