-
Notifications
You must be signed in to change notification settings - Fork 4
/
Dockerfile
46 lines (41 loc) · 1.05 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
FROM quay.io/matsengrp/linearham:2022-11-29-base-image
RUN apt-get update && apt-get install -y --no-install-recommends \
autoconf \
automake \
bison \
libblas-dev \
build-essential \
cmake \
flex \
gfortran \
ghostscript \
graphviz \
libgsl0-dev \
liblapack-dev \
libncurses-dev \
python-dev \
python-pip \
python-setuptools \
r-cran-ape \
r-cran-coda \
r-cran-data.table \
r-cran-littler \
scons \
libtool \
libyaml-dev \
libyaml-cpp-dev \
libz-dev \
libbz2-dev \
liblzma-dev \
less \
wget \
git
RUN wget https://mafft.cbrc.jp/alignment/software/mafft_7.450-1_amd64.deb && dpkg -i mafft_7.450-1_amd64.deb
RUN Rscript --slave --vanilla -e 'install.packages(c("phylotate", "Rcpp", "RcppArmadillo"), repos = "https://cloud.r-project.org")'
COPY . /linearham
WORKDIR /linearham
RUN pip install wheel
RUN pip install -r requirements.txt
RUN Rscript --slave --vanilla -e 'install.packages("lib/phylomd", repos = NULL, type = "source")'
RUN scons --build-partis-linearham && ./clean.sh
CMD ./test.sh && ./clean.sh