v0.1.5: Minimize Dependency Overhead
Changelog
The previous release had a big issue: The uncompressed docker image size was 951MB
which is huge for an app of this calibre. In order to save space two strategies were implemented:
- A dependency only for AWS Kinesis was used instead of the whole client.
This had quite large savings (nearly 500MB!), as seen on the image below. - Only selected JRE modules were used in the final docker image, using jdeps && jlink.
Thanks to this gist for the example.