thunder
thunder copied to clipboard
Provide Docker image flavors to reduce size
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
A multi-module maven build might be the way to go, with each module implementing a DB type.