Image tools for the Stackable Data Platform.
Project description
image-tools v0.0.6
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.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f21caa1bd3d6de44dd971495b5bb02b27d4e457ca9a6324fcd62a7a73cbf3da8 |
|
MD5 | 03b5ad7cd3157ead7acc822c099e69f5 |
|
BLAKE2b-256 | af8f6b15930b73c956bd3511ace7ce80550ed1f42755bb721c415d801e4ca4b1 |
Close
Hashes for image_tools_stackabletech-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8ddec08609f2ac5c2d0784e01e0e453877f7417ebdb7ca95f3022e114a3e7d6 |
|
MD5 | a83360c03d1aee687f4605455e504caf |
|
BLAKE2b-256 | 3e5720dbcb34f90bfef3cd09f1827cb612b71ef0f684a7da606d62f0c9eea53a |