Closed ccorley closed 3 years ago
Image size differences (uncompressed) w/alpine + openjdk headless + reduced image layers:
Original: 157M Alpine: 9.37M
Original: 479M Alpine: 179M
Original: 894M Alpine: 455M Size reduction due to alpine: 292M Size reduction due to openjdk-jre-headless: 8MB Size reduction due to docker image layer reduction: 139M
Original: 674M Alpine: 308M
Original: 550M Alpine: 249M
Opened an alpine issue for kafdrop on alpine: https://gitlab.alpinelinux.org/alpine/aports/-/issues/12275#note_134258
Also added a kafka-alpine image. Alpine reduced the size of the kafka image from 674MB to 308MB.
Finally, kafka-alpine does work on s390x, which is good news.
Created base-alpine, openjdk-alpine, kafdrop-alpine, kafka-alpine & zookeeper-alpine images. These images were created in directories alongside the original UBI-based images, so we can choose to use either image type, and were tested on amd64, arm64 & s390x.
The kafdrop-alpine image currently does not work on s390x due to an external alpine openjdk issue. Once that is resolved, kafdrop-alpine can be used as-is on all platforms. Since kafdrop-alpine currently works on amd64 and arm64, it is assumed that there is not a problem with the kafdrop-alpine image itself.