-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
24 lines (21 loc) · 1.19 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
##### BASE IMAGE #####
FROM r-base:3.6.3
##### METADATA #####
LABEL base.image="r-base:3.6.3"
LABEL software="prune_tree"
LABEL software.description="Prune nh files based on a list of organisms"
LABEL software.website="https://github.com/zavolanlab/prune_tree"
LABEL software.documentation="https://github.com/zavolanlab/prune_tree"
LABEL software.license="https://github.com/zavolanlab/prune_tree/blob/master/LICENSE"
LABEL software.tags="Genomics,Transcriptomics,Phylogenetics"
LABEL maintainer="[email protected]"
LABEL maintainer.organisation="Biozentrum, University of Basel"
LABEL maintainer.location="Klingelbergstrasse 50/70, CH-4056 Basel, Switzerland"
LABEL maintainer.lab="Zavolan Lab"
LABEL maintainer.license="https://spdx.org/licenses/Apache-2.0"
COPY R/prune_tree.R /usr/local/bin/prune_tree.R
##### INSTALL #####
RUN apt-get update -y \
&& apt-get install -y build-essential gcc curl libxml2-dev libssl-dev r-cran-devtools libmagick++-dev
RUN Rscript -e 'require("devtools"); install_version("phytools", version ="0.7-20", repos = "http://cran.us.r-project.org")'
RUN Rscript -e 'require("devtools"); install_version("optparse", version ="1.6.4", repos = "http://cran.us.r-project.org")'