Lean icon indicating copy to clipboard operation
Lean copied to clipboard

The Image quantconnect/lean Is too Large in Docker。Is there any way to optimize it

Open zhuzw0528 opened this issue 3 years ago • 1 comments

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 master branch
  • [x] I have confirmed that this is not a duplicate issue by searching issues
  • [x] I have provided detailed steps to reproduce the issue

zhuzw0528 avatar Apr 15 '22 03:04 zhuzw0528

Hey @zhuzw0528! We are aware of the inconvenience 👍 we expect to solve this soon through https://github.com/QuantConnect/Lean/pull/5768

Martin-Molinero avatar Apr 19 '22 00:04 Martin-Molinero

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.

jaredbroad avatar Feb 16 '23 15:02 jaredbroad