-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathDockerfile
69 lines (57 loc) · 1.83 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# Dockerfile for RUMP
FROM rocker/rstudio:3.6.3
LABEL maintainer="[email protected]"
RUN apt-get update -qq && \
apt-get install -y --no-install-recommends \
vim \
libfreetype6 \
libcairo2-dev \
libexpat1-dev \
libgmp3-dev \
liblapack-dev \
libnetcdf-dev \
libopenbabel-dev \
libgl1-mesa-dev \
libglu1-mesa-dev \
libgsl0-dev \
libmpfr-dev \
pkg-config \
fftw3-dev \
libgtk2.0-dev \
libtiff5-dev \
libnetcdf-dev \
libmpfr-dev \
libnetcdf-dev \
liblapack-dev \
cmake \
default-jdk \
python\
python-dev\
software-properties-common\
python-pip\
python3-pip\
python-tk\
python3-tk\
libnetcdf-dev libpng-dev libbz2-dev liblzma-dev libpcre3-dev libicu-dev
# Install python3-based necessary dependencies for RUMP
RUN pip3 install --upgrade 'pip==20.2.4' 'setuptools==50.3.2'
RUN pip3 install 'wheel==0.34.2' 'numpy==1.18.1' 'scipy==1.4.1' 'matplotlib<3.0.0,>=2.1.1' 'plotly==4.5.0' 'seaborn==0.9.1' 'scikit-learn==0.22.1' matplotlib_venn 'multiqc==1.9' 'statsmodels==0.11.0' 'fastcluster==1.1.26' 'pylint==2.4.4' 'pandas==0.25.3' 'xlrd==1.2.0' 'mummichog==2.4.4' 'networkx==2.4' 'graphviz==0.16'
RUN echo "alias python=python3" >> ~/.bash_profile
ENV NETCDF_INCLUDE=/usr/include
# invalidates cache every 24 hours
ADD http://master.bioconductor.org/todays-date /tmp/
# build dirs for UFRC
RUN mkdir /ufrc /orange /bio /rlts
RUN mkdir -p /scratch/local
RUN mkdir app
# define work dir
WORKDIR /app
COPY accessibility.properties /app
# Fix a bug for java
# RUN mv accessibility.properties /etc/java-8-openjdk/
# install R packages
COPY r_package_install.R /app
RUN Rscript r_package_install.R
# Install mummichog
# RUN python2.7 -m pip install --upgrade 'setuptools==44.0.0'
# RUN python2.7 -m pip install 'networkx==1.10' 'mummichog1==1.0.10'