Skip to content

feat(boil): Add image size command#1536

Merged
Techassi merged 4 commits into
mainfrom
feat/boil-image-size
Jun 25, 2026
Merged

feat(boil): Add image size command#1536
Techassi merged 4 commits into
mainfrom
feat/boil-image-size

Conversation

@Techassi

@Techassi Techassi commented Jun 16, 2026

Copy link
Copy Markdown
Member

This command calculates the compressed, per target platform size (in bytes) of images per repository and in total. The command works with no image selection (all images), a specific list of images, and the option to specify a specific version.

# Calculates the sizes of all amd64 0.0.0-dev images known by boil
$ boil image size --image-version 0.0.0-dev
airflow               3.00 GiB
druid                 2.37 GiB
hadoop                2.53 GiB
hbase                 2.89 GiB
hive                  6.55 GiB
java-devel            4.19 GiB
kafka                 1.19 GiB
kafka-testing-tools   75.38 MiB
krb5                  135.35 MiB
nifi                  5.15 GiB
omid                  804.00 MiB
opa                   265.40 MiB
opensearch            2.23 GiB
opensearch-dashboards 1.22 GiB
spark-connect-client  4.00 GiB
spark-k8s             2.80 GiB
superset              1.75 GiB
testing-tools         172.66 MiB
tools                 86.83 MiB
trino                 3.23 GiB
trino-cli             178.13 MiB
vector                83.82 MiB
zookeeper             345.07 MiB
Total                 45.19 GiB

# Calculates the sizes of all amd64 0.0.0-dev airflow images
$ boil image size airflow --image-version 0.0.0-dev --format json
{
  "images": {
    "airflow": 3280884122
  },
  "total": 3280884122
}

The --target-platform argument can be used to explicitly specify amd64 or arm64.

This command calculates the compressed, per target platform size of
images per repository and in total. The command works with no image
selection (all images), a specific list of images, and the option to
specify a specific version.
@Techassi Techassi self-assigned this Jun 16, 2026
@Techassi Techassi moved this to Development: Waiting for Review in Stackable Engineering Jun 16, 2026
@razvan

razvan commented Jun 18, 2026

Copy link
Copy Markdown
Member

Human readable units would be nice too.

@NickLarsenNZ

Copy link
Copy Markdown
Member

Human readable units would be nice too.

Maybe a --unit option?

@NickLarsenNZ NickLarsenNZ left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Techassi Techassi added this pull request to the merge queue Jun 25, 2026
@Techassi Techassi moved this from Development: Waiting for Review to Development: Done in Stackable Engineering Jun 25, 2026
Merged via the queue into main with commit 18ee52a Jun 25, 2026
13 checks passed
@Techassi Techassi deleted the feat/boil-image-size branch June 25, 2026 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Development: Done

Development

Successfully merging this pull request may close these issues.

3 participants