Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide Docker image flavors to reduce size #1028

Open
RohanNagar opened this issue Apr 13, 2021 · 1 comment
Open

Provide Docker image flavors to reduce size #1028

RohanNagar opened this issue Apr 13, 2021 · 1 comment
Assignees
Labels
Size: Large The work involved in addressing this issue is substantial. Multiple days or weeks of work. Status: Available Work on this issue has not yet started and is available to be worked on. Type: Feature Addresses adding a new feature to the application.
Milestone

Comments

@RohanNagar
Copy link
Owner

RohanNagar commented Apr 13, 2021

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 RohanNagar added Type: Feature Addresses adding a new feature to the application. Status: Available Work on this issue has not yet started and is available to be worked on. Size: Large The work involved in addressing this issue is substantial. Multiple days or weeks of work. labels Apr 13, 2021
@RohanNagar RohanNagar added this to the No Target milestone Apr 13, 2021
@RohanNagar RohanNagar self-assigned this Apr 13, 2021
@RohanNagar
Copy link
Owner Author

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

@RohanNagar RohanNagar modified the milestones: No Target, v4.0.0 Aug 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Size: Large The work involved in addressing this issue is substantial. Multiple days or weeks of work. Status: Available Work on this issue has not yet started and is available to be worked on. Type: Feature Addresses adding a new feature to the application.
Projects
None yet
Development

No branches or pull requests

1 participant