Upgraded docker files to use multistage build and alpine. That compressed image from 1.1 Gb to ~250 mb for each container.
Also use gradlew to build jars.
Type of change
Please delete options that are not relevant.
[x] New feature (non-breaking change which adds functionality)
How Has This Been Tested?
[x] Full test for docker build and run compose
Test Configuration:
* Firmware version: MacOS 14.3 (23D56)
* Hardware: Apple M1 Pro
* SDK: Eclipse Temurin JDK 21.0.2+13-LTS
Checklist:
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules
[x] I have updated project version if release is planned
Description
Upgraded docker files to use multistage build and alpine. That compressed image from 1.1 Gb to ~250 mb for each container. Also use gradlew to build jars.
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Test Configuration:
Checklist: