-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
52 lines (41 loc) · 1.06 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
FROM continuumio/miniconda3:4.10.3
# Install Ubuntu dependencies
RUN apt-get update && apt-get install -y --no-install-recommends \
git \
ed \
less \
locales \
vim-tiny \
wget \
ca-certificates \
bison \
flex \
apt-utils \
gawk \
libcurl4-openssl-dev \
libxml2-dev\
libssl-dev
# Install Sleipnir
RUN apt-get install -y --no-install-recommends \
mercurial \
gengetopt \
libboost-regex-dev \
libboost-graph-dev \
liblog4cpp5-dev \
build-essential \
libgsl0-dev
RUN apt-get install -y --no-install-recommends \
gfortran \
zlib1g-dev
# install R dependencies
COPY ./environment.yml /tmp/environment.yml
COPY ./install_custom.R /tmp/install_custom.R
RUN conda install -c conda-forge mamba
RUN mamba env create -f /tmp/environment.yml
RUN conda run -n hgsc_subtypes R --no-save < /tmp/install_custom.R
RUN wget -nv http://download.joachims.org/svm_perf/current/svm_perf.tar.gz \
--directory-prefix svmperf/
RUN cd svmperf && tar -xf svm_perf.tar.gz && make
WORKDIR /app
COPY . /app
CMD ["/app/aaces_subtypes_pipeline.sh"]