Skip to content

Commit

Permalink
Research Libraries Fixes
Browse files Browse the repository at this point in the history
- Replace old conda libc for OS version
- Remove unrequired LD_LIBRARY_PATH added for a mono issue at #5380
  • Loading branch information
Martin-Molinero committed Oct 20, 2022
1 parent 3973594 commit 6d13951
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions DockerfileJupyter
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ RUN if [ "$(uname -m)" = "aarch64" ]; then \
# Install clr-loader for PythonNet
RUN pip install --no-cache-dir clr-loader==0.1.6

ENV LD_LIBRARY_PATH=/lib/

# Install .NET Interactive to support C# in Jupyter notebooks
ENV PATH="${PATH}:/root/.dotnet/tools"
RUN dotnet tool install -g --no-cache --version 1.0.340501 --add-source "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json" Microsoft.dotnet-interactive && \
Expand All @@ -42,6 +40,9 @@ RUN git clone https://github.com/QuantConnect/Lean.git && \
cd Lean/PythonToolbox && python setup.py install \
&& cd ../.. && rm -irf Lean

# conda libc is old and causes issues in research we want to use the hosts version which is updated
RUN rm /opt/miniconda3/lib/libstdc++.so.6 && ln -s /lib/x86_64-linux-gnu/libstdc++.so.6 /opt/miniconda3/lib/libstdc++.so.6

RUN find ${WORK} -type f -not -name '*.py*' -not -name '*.xml' -not -name '*.exe.config' -not -name '*.exe' -not -name '*.so' -not -name '*.dll' -not -name '*.ipynb' -not -name '*.csx' -not -name 'QuantConnect.Lean.Launcher.runtimeconfig.json' -not -name 'decimal.py' -delete

#Create initialize script
Expand Down

0 comments on commit 6d13951

Please sign in to comment.