Update Dockerfile
This commit is contained in:
15
Dockerfile
15
Dockerfile
@@ -1,7 +1,8 @@
|
|||||||
FROM ubuntu:latest
|
FROM ubuntu:20.04
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
# Install apt packages
|
||||||
RUN \
|
RUN \
|
||||||
set -eux && \
|
set -eux && \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
@@ -21,6 +22,7 @@ RUN \
|
|||||||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
|
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
|
# Install python pip
|
||||||
RUN \
|
RUN \
|
||||||
set -eux && \
|
set -eux && \
|
||||||
python3 --version && \
|
python3 --version && \
|
||||||
@@ -33,6 +35,7 @@ RUN \
|
|||||||
pip3 --version && \
|
pip3 --version && \
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
|
# Install python pip packages
|
||||||
RUN \
|
RUN \
|
||||||
set -eux && \
|
set -eux && \
|
||||||
pip3 --version && \
|
pip3 --version && \
|
||||||
@@ -41,20 +44,21 @@ RUN \
|
|||||||
pip3 install --upgrade autoenv autopep8 cmake-format clang-format conan conan_package_tools meson && \
|
pip3 install --upgrade autoenv autopep8 cmake-format clang-format conan conan_package_tools meson && \
|
||||||
pip3 install --upgrade cppclean flawfinder lizard pygments pybind11 GitPython pexpect subunit Jinja2 pylint CLinters && \
|
pip3 install --upgrade cppclean flawfinder lizard pygments pybind11 GitPython pexpect subunit Jinja2 pylint CLinters && \
|
||||||
pip3 install --upgrade ipython jupyter matplotlib nose numba numpy pandas pymc3 PyWavelets requests scikit-learn scipy seaborn sympy quandl textblob nltk yfinance && \
|
pip3 install --upgrade ipython jupyter matplotlib nose numba numpy pandas pymc3 PyWavelets requests scikit-learn scipy seaborn sympy quandl textblob nltk yfinance && \
|
||||||
pip3 install --upgrade PyPortfolioOpt && \
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
|
RUN pip3 install --upgrade PyPortfolioOpt
|
||||||
RUN pip3 install --upgrade dlib
|
RUN pip3 install --upgrade dlib
|
||||||
RUN pip3 install --upgrade frida frida-tools
|
RUN pip3 install --upgrade frida frida-tools
|
||||||
|
#RUN pip3 install --upgrade --ignore-installed cltk
|
||||||
|
|
||||||
|
# Install FB Prophet
|
||||||
# https://github.com/facebook/prophet/blob/master/python/requirements.txt
|
# https://github.com/facebook/prophet/blob/master/python/requirements.txt
|
||||||
RUN \
|
RUN \
|
||||||
pip3 install --upgrade Cython cmdstanpy==0.9.68 pystan~=2.19.1.1 numpy pandas matplotlib LunarCalendar convertdate holidays setuptools-git python-dateutil tqdm && \
|
pip3 install --upgrade Cython cmdstanpy==0.9.68 pystan~=2.19.1.1 numpy pandas matplotlib LunarCalendar convertdate holidays setuptools-git python-dateutil tqdm && \
|
||||||
pip3 install --upgrade fbprophet && \
|
pip3 install --upgrade fbprophet && \
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
#RUN pip3 install --upgrade --ignore-installed cltk
|
# Install vcpkg
|
||||||
|
|
||||||
#RUN \
|
#RUN \
|
||||||
# set -eux && \
|
# set -eux && \
|
||||||
# cd /root && \
|
# cd /root && \
|
||||||
@@ -65,6 +69,7 @@ RUN \
|
|||||||
# vcpkg install pybind11 && \
|
# vcpkg install pybind11 && \
|
||||||
# exit 0
|
# exit 0
|
||||||
|
|
||||||
|
# Install conan
|
||||||
RUN \
|
RUN \
|
||||||
set -eux && \
|
set -eux && \
|
||||||
conan profile new default --detect && \
|
conan profile new default --detect && \
|
||||||
@@ -73,6 +78,7 @@ RUN \
|
|||||||
conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan && \
|
conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan && \
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
|
# Setup ssh
|
||||||
RUN \
|
RUN \
|
||||||
set -eux && \
|
set -eux && \
|
||||||
mkdir -p /var/run/sshd && \
|
mkdir -p /var/run/sshd && \
|
||||||
@@ -86,6 +92,7 @@ RUN \
|
|||||||
ssh-keygen -A && \
|
ssh-keygen -A && \
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
|
# Install cuda
|
||||||
RUN \
|
RUN \
|
||||||
set -eux && \
|
set -eux && \
|
||||||
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-ubuntu2004.pin && \
|
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-ubuntu2004.pin && \
|
||||||
|
|||||||
Reference in New Issue
Block a user