traderX
traderX copied to clipboard
Convert builds to multistage docker builds
Feature Request
Description of Problem:
Using multi-stage builds in the creation of the images to optimise image sizes and start time
Potential Solutions:
Leverage multistage builds https://docs.docker.com/get-started/docker-concepts/building-images/multi-stage-builds/
Am working on this :)
Seems indeed very important for usability and adoption of this project (images too big, and build/deployment time very long). And Security Posture to improve.
Happy to continue working on this to help.
Here is what has been done so far:
- [X]
ingress: https://github.com/finos/traderX/pull/240 - [X]
people-service: https://github.com/finos/traderX/pull/251 - [X]
reference-dataandtrade-feed: https://github.com/finos/traderX/pull/258 - [X]
position-service: https://github.com/finos/traderX/pull/259 in continuity of what was started here: https://github.com/finos/traderX/pull/232.
So far, more than 4.5 GB have been saved with the uncompressed container images on disk. Number of CVEs with the container images has been reduced by 6K too.
Next:
- [ ] https://github.com/finos/traderX/pull/264