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:buster, debian:bookworm 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
Install Docker Engine. See its official documentation.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file grocker-8.3.tar.gz.
File metadata
- Download URL: grocker-8.3.tar.gz
- Upload date:
- Size: 18.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
304f38ca2d192f6161f3221b868ad37cf85de6ad846ad97db86f56140d7fa7b9
|
|
| MD5 |
648e43be19e100838f28e67d2424a68c
|
|
| BLAKE2b-256 |
3628574ee4f6603d173752a2e15cecd7f24216d24aca1e82fa0c91b33d5d2bbb
|
Provenance
The following attestation bundles were made for grocker-8.3.tar.gz:
Publisher:
publish-to-pypi.yml on Polyconseil/grocker
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
grocker-8.3.tar.gz -
Subject digest:
304f38ca2d192f6161f3221b868ad37cf85de6ad846ad97db86f56140d7fa7b9 - Sigstore transparency entry: 844714687
- Sigstore integration time:
-
Permalink:
Polyconseil/grocker@dd7c7860dc93378c67cc46c018250554e110c25a -
Branch / Tag:
refs/tags/8.3 - Owner: https://github.com/Polyconseil
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@dd7c7860dc93378c67cc46c018250554e110c25a -
Trigger Event:
push
-
Statement type:
File details
Details for the file grocker-8.3-py3-none-any.whl.
File metadata
- Download URL: grocker-8.3-py3-none-any.whl
- Upload date:
- Size: 24.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
16f4eebb2fb4ac78494cc1b5903830b3086842979ddfd3c4019afe238c03f2e4
|
|
| MD5 |
45a952a02ec73735b2fc72905f2d2436
|
|
| BLAKE2b-256 |
edefce47d82c0111586413963f2afa5993c6f60e2b913e43b4658d2869675a5e
|
Provenance
The following attestation bundles were made for grocker-8.3-py3-none-any.whl:
Publisher:
publish-to-pypi.yml on Polyconseil/grocker
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
grocker-8.3-py3-none-any.whl -
Subject digest:
16f4eebb2fb4ac78494cc1b5903830b3086842979ddfd3c4019afe238c03f2e4 - Sigstore transparency entry: 844714690
- Sigstore integration time:
-
Permalink:
Polyconseil/grocker@dd7c7860dc93378c67cc46c018250554e110c25a -
Branch / Tag:
refs/tags/8.3 - Owner: https://github.com/Polyconseil
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@dd7c7860dc93378c67cc46c018250554e110c25a -
Trigger Event:
push
-
Statement type: