diff --git a/Dockerfile b/Dockerfile index 8dfabea..3bbc1ab 100644 --- a/Dockerfile +++ b/Dockerfile @@ -115,7 +115,7 @@ ENV PATH /usr/local/texlive/distribution/bin/x86_64-linux:$PATH # GIT - https://git-scm.com/ # http://tecadmin.net/install-git-2-0-on-centos-rhel-fedora/# -ENV GIT_VER 2.20.1 +ENV GIT_VER 2.21.0 RUN wget https://www.kernel.org/pub/software/scm/git/git-$GIT_VER.tar.gz \ && tar xf git-$GIT_VER.tar.gz && cd git-$GIT_VER \ @@ -129,7 +129,7 @@ RUN git config --global url."https://".insteadOf git:// # llvm needs CMake 2.8.12.2 or higher # https://cmake.org/download/ ENV CMAKE_VER_MAJ 3.13 -ENV CMAKE_VER_MIN .3 +ENV CMAKE_VER_MIN .4 ENV CMAKE_VER $CMAKE_VER_MAJ$CMAKE_VER_MIN RUN wget https://cmake.org/files/v$CMAKE_VER_MAJ/cmake-$CMAKE_VER.tar.gz \ @@ -140,7 +140,7 @@ RUN wget https://cmake.org/files/v$CMAKE_VER_MAJ/cmake-$CMAKE_VER.tar.gz \ ENV CMAKE_ROOT /usr/local/share/cmake-$CMAKE_VER_MAJ # node https://nodejs.org/en/ -ENV NODE_VER 10.15.0 +ENV NODE_VER 10.15.3 RUN wget https://github.com/nodejs/node/archive/v$NODE_VER.tar.gz \ && tar xf v$NODE_VER.tar.gz && cd node-$NODE_VER \ @@ -231,22 +231,6 @@ RUN wget https://download2.rstudio.org/rstudio-server-rhel-$RSTUDIO_VER-x86_64.r && yum clean all \ && rm -f rstudio-server-rhel-$RSTUDIO_VER-x86_64.rpm && rm -f RSTUDIOMD5 -# Libreoffice - https://www.libreoffice.org/download/libreoffice-fresh/ -# Linux x64 rpm -#ENV LIBREOFFICE_VER 6.1.2 -#ENV LIBREOFFICE_VER_MINOR .1 - -#RUN wget http://mirror.nbtelecom.com.br/tdf/libreoffice/stable/$LIBREOFFICE_VER/rpm/x86_64/LibreOffice_${LIBREOFFICE_VER}_Linux_x86-64_rpm.tar.gz \ -# && echo "b462407ca869da19c387d4349e51cf7a LibreOffice_${LIBREOFFICE_VER}_Linux_x86-64_rpm.tar.gz" > LIBREOFFICEMD5 \ -# && RESULT=$(md5sum -c LIBREOFFICEMD5) \ -# && echo ${RESULT} > ~/check-libreoffice-md5.txt \ -# && tar xf LibreOffice_${LIBREOFFICE_VER}_Linux_x86-64_rpm.tar.gz \ -# && cd LibreOffice_${LIBREOFFICE_VER}${LIBREOFFICE_VER_MINOR}_Linux_x86-64_rpm/RPMS \ -# && yum -y install *.rpm \ -# && yum clean all \ -# && cd && rm -f LIBREOFFICEMD5 && rm -f LibreOffice_${LIBREOFFICE_VER}_Linux_x86-64_rpm.tar.gz \ -# && rm -rf LibreOffice_${LIBREOFFICE_VER}${LIBREOFFICE_VER_MINOR}_Linux_x86-64_rpm - # Shiny - https://www.rstudio.com/products/shiny/download-server/ ENV SHINY_VER 1.5.9.923 @@ -259,9 +243,9 @@ RUN R -e 'install.packages("shiny", repos="https://cran.rstudio.com/")' \ && yum clean all \ && cd && rm -f SHINYSERVERMD5 && rm -f shiny-server-$SHINY_VER-x86_64.rpm -# Julia -ENV JULIA_VER_MAJ 1.0 -ENV JULIA_VER_MIN .3 +# Julia - https://julialang.org/downloads/ +ENV JULIA_VER_MAJ 1.1 +ENV JULIA_VER_MIN .0 ENV JULIA_VER $JULIA_VER_MAJ$JULIA_VER_MIN RUN wget https://julialang-s3.julialang.org/bin/linux/x64/$JULIA_VER_MAJ/julia-$JULIA_VER-linux-x86_64.tar.gz \ @@ -398,17 +382,6 @@ RUN conda install altair --channel conda-forge -y # Plotly for Python RUN conda install plotly -y -ADD libs libs - -# Install packages -#RUN cd libs && source ./libs_python2.sh - -#RUN cd libs && source ./libs_python3.sh - -#RUN cd libs && source ./libs_R.sh - -#RUN cd libs && source ./install_JSAnimation.sh - #################### ## Services #################### diff --git a/libs/install_JSAnimation.sh b/libs/install_JSAnimation.sh deleted file mode 100644 index 695f3ec..0000000 --- a/libs/install_JSAnimation.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh -# https://jakevdp.github.io/blog/2013/05/19/a-javascript-viewer-for-matplotlib-animations/ - -git clone https://github.com/jakevdp/JSAnimation.git -cd JSAnimation -/usr/local/conda/anaconda3/envs/py2/bin/python setup.py install -python3 setup.py install -cd .. -rm -rf JSAnimation diff --git a/libs/libs_R.sh b/libs/libs_R.sh deleted file mode 100644 index 0733d77..0000000 --- a/libs/libs_R.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -Rscript r-packages.r diff --git a/libs/libs_python2.sh b/libs/libs_python2.sh deleted file mode 100644 index 5f054f4..0000000 --- a/libs/libs_python2.sh +++ /dev/null @@ -1,48 +0,0 @@ -#!/bin/sh - -/usr/local/conda/anaconda3/envs/py2/bin/pip install \ - pypandoc \ - deap - -/usr/local/conda/anaconda3/envs/py2/bin/pip install \ - arch \ - attrs \ - bcolz \ - bcrypt \ - beautifulsoup4 \ - blist \ - BTrees \ - bz2file \ - characteristic \ - colander \ - coverage \ - csvkit \ - cymem \ - cytoolz \ - dask \ - datetime \ - docx \ - jsonschema \ - names \ - pymemcache \ - pymongo \ - pytest-cov \ - pytest-html \ - python-daemon \ - python-docx \ - pyyaml \ - requests \ - rstr \ - seaborn \ - schedule \ - scikit-learn \ - simplejson \ - sphinx \ - spyder \ - sqlalchemy \ - sympy \ - sqlparse \ - suds-jurko \ - xlsxwriter \ - tox \ - mpld3 diff --git a/libs/libs_python3.sh b/libs/libs_python3.sh deleted file mode 100644 index b2aaf87..0000000 --- a/libs/libs_python3.sh +++ /dev/null @@ -1,48 +0,0 @@ -#!/bin/sh - -pip install \ - pypandoc \ - deap - -pip install \ - arch \ - attrs \ - bcolz \ - bcrypt \ - beautifulsoup4 \ - blist \ - BTrees \ - bz2file \ - characteristic \ - colander \ - coverage \ - csvkit \ - cymem \ - cytoolz \ - dask \ - datetime \ - docx \ - jsonschema \ - names \ - pymemcache \ - pymongo \ - pytest-cov \ - pytest-html \ - python-daemon \ - python-docx \ - pyyaml \ - requests \ - rstr \ - seaborn \ - schedule \ - scikit-learn \ - simplejson \ - sphinx \ - spyder \ - sqlalchemy \ - sympy \ - sqlparse \ - suds-jurko \ - xlsxwriter \ - tox \ - mpld3 diff --git a/libs/r-packages.r b/libs/r-packages.r deleted file mode 100644 index 9b3d204..0000000 --- a/libs/r-packages.r +++ /dev/null @@ -1,104 +0,0 @@ - -pkgs <- c( - "alabama", - "base64enc", - "bootStepAIC", - "caret", - "cubature", - "data.table", - "DEoptim", - "devtools", - "doParallel", - "doSNOW", - "dplyr", - "dyn", - "dynlm", - "extrafont", - "feather", - "fAsianOptions", - "fAssets", - "fBasics", - "fBonds", - "fCopulae", - "fExoticOptions", - "fExtremes", - "fGarch", - "fImport", - "fMultivar", - "fNonlinear", - "fOptions", - "fPortfolio", - "fRegression", - "fTrading", - "fUnitRoots", - "foreach", - "forecast", - "glmnet", - "gmailr", - "ggfortify", - "ggplot2", - "ggthemes", - "gmp", - "Hmisc", - "knitr", - "leaps", - "linprog", - "longitudinalData", - "lubridate", - "lpSolve", - "lpSolveAPI", - "mail", - "mapproj", - "maptools", - "memoise", - "microbenchmark", - "mongolite", - "NMOF", - "openxlsx", - "parcor", - "party", - "pbivnorm", - "plm", - "plotly", - "PythonInR", - "quantmod", - "R.cache", - "randomForest", - "Rcpp", - "RCurl", - "rJava", - "readr", - "reshape", - "rgeos", - "rgdal", - "rmarkdown", - "Rmpfr", - "rjson", - "roxygen2", - "rugarch", - "Rmpfr", - "RSelenium", - "RSQLite", - "rvest", - "scales", - "sqldf", - "shinydashboard", - "stringr", - "Synth", - "plyr", - "TSA", - "tidyverse", - "tikzDevice", - "x12", - "xlsx", - "XML", - "xml2", - "xts", - "zoo" -) - -install.packages(pkgs) - -# http://bioconductor.org/packages/release/bioc/html/rhdf5.html -source("https://bioconductor.org/biocLite.R") -biocLite("rhdf5", ask=F) # HDF5 interface to R diff --git a/libs/update_pkgs.py b/libs/update_pkgs.py deleted file mode 100644 index 2e8cc12..0000000 --- a/libs/update_pkgs.py +++ /dev/null @@ -1,11 +0,0 @@ -import pip -import sys -from subprocess import call - -if len(sys.argv) != 2: - print("Usage: python update_pkgs.py [number]") -else: - pip_ver = sys.argv[1] - - for dist in pip.get_installed_distributions(): - call("pip" + pip_ver + " install --upgrade " + dist.project_name, shell=True)