Cleaning up after installing a Logstash plugin ( 200Mb + of dependencies downloaded)

Its seems that hundreds of dependencies are downloaded in order to install a logstash plugin.

I installed the example Java filter plugin, which is very small gem (2mb), and it downloaded more than 200 Mb of dependencies in my image.

Logstash binary is already huge (300 mb+), and now this extra 200mb of dependencies, kinds of adds up.

What can be safely "cleaned up" to reduce the image size after installing a plugin?

Thanks

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.