confluentinc / schema-registry-images

Docker Images for Schema Registry
Apache License 2.0
3 stars 21 forks source link

Reduce Image Size? #65

Open philipbjorge opened 1 year ago

philipbjorge commented 1 year ago

Is there room to reduce the docker image size?

The 1GB+ pull is slowing down our Github Actions compared to other containers (e.g. cp-kafka and postgres)

matty-at-rdc commented 3 months ago

Dreaming of the day

theUm commented 1 month ago

I'm totally fine with a single docker layer of 1.3gb that fetches something from staging-confluent-packages-something-something.s3.us-west-2.amazonaws.com that leads to final image to be 1.7 GB

https://hub.docker.com/layers/confluentinc/cp-schema-registry/latest-ubi8/images/sha256-b0f1473e9b724ada5338390346438229206f3568ccee94d78bdff1f37e3c8c52?context=explore

j-tim commented 2 weeks ago

The big image (2+ GB) slows us down (in pipelines and automated test suites) and introduces dependencies that are most likely not needed to run the container.

Observation on the Confluent Platform Schema Registry Docker image, it contains:

Is Confluent accepting contributions to improve the size of this image?