Image tools for the Stackable Data Platform.
Project description
image-tools v0.0.7
Commandline tools to manage Stackable container images available at https://github.com/stackabletech/docker-images
This repository (and the installable package) contain two tools:
bake
: build and publish product images.check-container
: run RedHat preflight checks on container images.
Usage examples
Run either bake
or check-container
with --help
to get an overview of the accepted flags and their functionality.
Below are some common usage examples:
# Build images of the hello-world containers
bake -p hello-world -i 0.0.0-dev
# Build only one version [0.37.2] of OPA
bake -p opa=0.37.2 -i 0.0.0-dev
# Build half of all versions defined for OPA
bake -p opa -i 0.0.0-dev --shard-count 2 --shard-index 0
# Build the other half of all versions defined for OPA
bake -p opa -i 0.0.0-dev --shard-count 2 --shard-index 1
Installation
We recommend to use pipx:
pipx install image-tools-stackabletech
But you can also use pip
:
# from PyPI
pip install image-tools-stackabletech
# from GitHub
pip install git+https://github.com/stackabletech/image-tools.git@main
Release a new version
Update the version in:
pyproject.toml
README.md
: version and pip install command.
Update the CHANGELOG. Commit and tag. Build and publish:
rm -rf dist/
python -m build --sdist --wheel .
twine upload dist/*
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
Close
Hashes for image_tools_stackabletech-0.0.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f06166cf2a4d2ba6bc2a96e3ceb4cebe45269af903542a7c68896aea0f14b9d0 |
|
MD5 | 22d4d6b8ea8b8ec86eb9b8d543e5407c |
|
BLAKE2b-256 | 984cd0df08dd53eca85cc0539b74c22b9be8bf1a2d669460a411506fbacb2e43 |
Close
Hashes for image_tools_stackabletech-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf607050a18ad70e5e164bb4333ef9e0d25d72bc1f5eb007f7b564cf86b4efd3 |
|
MD5 | 581bfe2db16d26fb787bc6f940898c21 |
|
BLAKE2b-256 | 4d7cd4d0b36ac3df67b9615fcfcef29b000ee819dfc143e7359bfdc751ef19d4 |