thunder icon indicating copy to clipboard operation
thunder copied to clipboard

Provide Docker image flavors to reduce size

Open RohanNagar opened this issue 4 years ago • 1 comments

Describe the problem that this feature would solve

If someone is planning on using Thunder with DynamoDB, classes related to MongoDB are not needed.

We can reduce the size of a docker image by not compiling those MongoDB classes that would never be used. We should offer multiple flavors of Thunder with reduced sizes.

Describe the solution you'd like

Dockerfile that builds Thunder excluding certain java packages during compilation and publish those

Additional context

https://stackoverflow.com/questions/1790000/exclude-dependency-in-a-profile

RohanNagar avatar Apr 13 '21 23:04 RohanNagar

A multi-module maven build might be the way to go, with each module implementing a DB type.

RohanNagar avatar Aug 11 '21 03:08 RohanNagar