Lean
Lean copied to clipboard
The Image quantconnect/lean Is too Large in Docker。Is there any way to optimize it
Expected Behavior
Make the mirror as small as possible
Actual Behavior
Use python-alpine processing
Potential Solution
Use Python Alpine processing
Checklist
- [x] I have completely filled out this template
- [x] I have confirmed that this issue exists on the current
masterbranch - [x] I have confirmed that this is not a duplicate issue by searching issues
- [x] I have provided detailed steps to reproduce the issue
Hey @zhuzw0528! We are aware of the inconvenience 👍 we expect to solve this soon through https://github.com/QuantConnect/Lean/pull/5768
The vast majority of the size is in the python dependencies that we carefully work on to install together without conflicts. The foundation provides those prepackaged dependencies and saves people 6-8 hours of work compiling them all together.
We wanted to split out the libraries into virtual environments but it didn't work out; and was not safe enough to ship. For now sadly we need to keep the current container.