-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile
77 lines (70 loc) · 2.92 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
70
71
72
73
74
75
76
77
FROM rocker/shiny:4.0.3
LABEL maintainer="Nanjiang Shu ([email protected])"
LABEL version="1.2"
RUN apt-get update -y && \
apt-get install -y --no-install-recommends \
procps \
curl \
vim \
openbox \
freeglut3-dev \
libv8-dev \
libmagick++-dev \
openjdk-8-jdk \
libbz2-dev \
libgsl-dev \
libmysqlclient-dev \
default-libmysqlclient-dev \
libpq-dev \
libfreetype6-dev \
libcurl4-openssl-dev \
libssl-dev \
libudunits2-dev \
libxml2-dev \
libgeos-dev \
libfontconfig1-dev \
gdal-bin \
libgdal-dev \
libcairo2-dev \
libxt-dev \
libnlopt-dev \
mesa-common-dev \
libglu1-mesa-dev \
libx11-dev \
libglpk-dev \
&& rm -rf /var/lib/apt/lists/*
# Download and install library
# MetaMeX
RUN R -e "install.packages(c('DT', 'dplyr', 'forestplot', 'ggfortify','ggplot2','ggpubr', 'gplots', 'grid', 'gridExtra', 'metafor', 'readr', 'rmarkdown', 'stringr', 'readxl', 'shinyjs', 'scales'), dependencies = T)" && \
R -e "install.packages(c('rvest'), dependencies = T)" && \
# igraph
R -e "install.packages(c('plotrix', 'rgl', 'rglwidget'), dependencies = T)" && \
# pophelperShiny
R -e "install.packages(c('shinythemes', 'shinyBS', 'highcharter'), dependencies = T)" && \
R -e "install.packages(c('colourpicker'), dependencies = T)" && \
R -e "install.packages(c('rJava'), dependencies = T)" && \
R -e "install.packages(c('xlsx'), dependencies = T)" && \
R -e "install.packages(c('label.switching','tidyr','remotes','DT','htmlwidgets','magrittr','markdown','shiny','viridisLite','writexl'),repos = 'http://cran.us.r-project.org', dependencies= T)" && \
R -e "remotes::install_github('royfrancis/pophelper')" && \
# shiny-nametagger
R -e "install.packages(c('shinyAce', 'png', 'showtext'), dependencies = T)" && \
# singleCell
R -e "install.packages(c('flexdashboard', 'tidyverse', 'cowplot', 'shinymanager'), dependencies = T)" && \
R -e "setRepositories(ind = 1:2)" && \
R -e "install.packages(c('Seurat'))" && \
# rshiny-support-4884
R -e "install.packages(c('randomcoloR', 'dbscan', 'shadowtext', 'GGally', 'ggrepel', 'ggforce', 'ggpubr'), dependencies = T)" && \
# shiny-certificate
R -e "install.packages(c('showtext','magick','ggtext'), dependencies = T)" && \
# o_andersson
R -e "install.packages(c('RColorBrewer'), dependencies = T)" && \
# natural-nations
R -e "install.packages(c('plyr', 'shiny.i18n', 'shinydashboard', 'shinyTime', 'shinyWidgets', 'leaflet', 'plotly', 'wesanderson', 'shinydashboard', 'shinyjs', 'extrafont'), dependencies = T)" && \
# shiny-rnaseq-power
R -e "install.packages(c('shinyBS','shinythemes','RNASeqPower'), dependencies = T)" && \
# support-5860
R -e "install.packages(c('shinythemes','DT','readxl','data.table','shinyhelper','Matrix'), dependencies = T)"
ADD web /srv/shiny-server/
RUN mkdir -p /srv/shiny-server/shiny-server-apps
EXPOSE 3838
CMD ["/init"]