-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
37 lines (28 loc) · 1.63 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
# Version: 0.0.1
FROM ubuntu:16.04
#FROM continuumio/miniconda3
MAINTAINER Xing Fu "[email protected]"
RUN echo 'deb http://mirrors.ustc.edu.cn/CRAN/bin/linux/ubuntu xenial/' >> /etc/apt/sources.list; \
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9; \
apt-get update; \
apt-get install -y r-base r-base-dev libcurl4-openssl-dev libxml2-dev gdebi-core libapparmor1 psmisc supervisor libedit2 wget libssl-dev pdftk; \
apt-get clean; \
apt-get autoremove
RUN wget ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/LATEST//ncbi-blast-2.7.1+-x64-linux.tar.gz;\
tar -zxvf ncbi-blast-2.7.1+-x64-linux.tar.gz;\
rm /ncbi-blast-2.7.1+-x64-linux.tar.gz;\
wget https://mafft.cbrc.jp/alignment/software/mafft_7.402-1_amd64.deb;\
gdebi -n mafft_7.402-1_amd64.deb;\
rm mafft_7.402-1_amd64.deb;\
wget https://bioconductor.org/packages/release/bioc/src/contrib/DECIPHER_2.8.1.tar.gz;
# https://www.rstudio.com/products/shiny/download-server/
RUN wget https://download3.rstudio.org/ubuntu-12.04/x86_64/shiny-server-1.5.6.875-amd64.deb; \
gdebi -n shiny-server-1.5.6.875-amd64.deb; \
rm /shiny-server-1.5.6.875-amd64.deb;
RUN R -e "install.packages(c('shiny', 'rmarkdown', 'tidyverse', 'gplots', 'plotrix', 'VennDiagram', 'httr', 'data.table', 'jsonlite', 'shinydashboard'), repos='http://mirrors.ustc.edu.cn/CRAN/')"
RUN R -e "install.packages(c('seqinr'), repos='http://mirrors.ustc.edu.cn/CRAN/')"
ADD install_bioC.R /src/install_bioC.R
RUN Rscript /src/install_bioC.R && rm /src/install_bioC.R
EXPOSE 3838
COPY shiny-server.sh /usr/bin/shiny-server.sh
CMD ["/usr/bin/shiny-server.sh"]