forked from QuantConnect/Lean
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfileBuild
More file actions
21 lines (18 loc) · 917 Bytes
/
Copy pathDockerfileBuild
File metadata and controls
21 lines (18 loc) · 917 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM mono:5.12
RUN apt-get update && apt-get -y install bzip2
RUN export PATH="$HOME/miniconda3/bin:$PATH" && \
curl https://cdn.quantconnect.com/miniconda/Miniconda3-4.5.12-Linux-x86_64.sh > Miniconda3-4.5.12-Linux-x86_64.sh && \
bash Miniconda3-4.5.12-Linux-x86_64.sh -b && \
rm -rf Miniconda3-4.5.12-Linux-x86_64.sh && \
ln -s $HOME/miniconda3/lib/libpython3.6m.so /usr/lib/libpython3.6m.so && \
conda update -y python conda pip && \
conda install -y python=3.6.8 && \
conda install -y numpy=1.16.1 && \
conda install -y pandas=0.23.4 && \
conda install -y cython=0.29.11 && \
conda install -y scipy=1.2.1 && \
conda install -y wrapt=1.10.11
# Usage:
# docker run -v (absolute path to your Lean source folder):/lean-src -it quantconnectlean-build bash
# nuget restore QuantConnect.Lean.sln
# msbuild /p:Configuration=Debug /p:VbcToolExe=vbnc.exe QuantConnect.Lean.sln