forked from wrightrc/r1001genomes
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
70 lines (38 loc) · 1.57 KB
/
Copy pathDockerfile
File metadata and controls
70 lines (38 loc) · 1.57 KB
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
FROM rocker/verse:latest
## Installs R, Rstudio, tidyverse, tex, pandoc and other markdown dependencies
## Add lines from bioc
RUN apt-get update && \
apt-get -y install --fix-missing gdb libxml2-dev python-pip libmariadb-client-lgpl-dev
# R matrix requires gfortran
RUN apt-get update && apt-get -y install gfortran gfortran-6
# R XVector requires zlib.h
RUN apt-get update && apt-get -y install libz-dev
# Install r1001genomes package dependencies
RUN R -e 'install.packages("cowplot")'
RUN R -e 'install.packages("devtools")'
RUN R -e 'install.packages("ggmap")'
RUN R -e 'install.packages("ggthemes")'
RUN R -e 'install.packages("ggpmisc")
RUN R -e 'install.packages("ggrepel")'
RUN R -e 'install.packages("ggseqlogo")'
RUN R -e 'install.packages("leaflet")'
RUN R -e 'install.packages("magrittr")'
RUN R -e 'install.packages("msaR")'
RUN R -e 'install.packages("plyr")'
RUN R -e 'install.packages("RColorBrewer")'
RUN R -e 'install.packages("reshape2")'
RUN R -e 'install.packages("shiny")'
RUN R -e 'install.packages("shinyBS")'
RUN R -e 'install.packages("shinycssloaders")'
RUN R -e 'install.packages("shinythemes")'
RUN R -e 'install.packages("stringr")'
# Setup an R script to install bioconductor packages
ADD install.R /tmp/
# invalidates cache every 24 hours
ADD http://master.bioconductor.org/todays-date /tmp/
# Install bioMart, VariantAnnotation and vcfR
RUN R -f /tmp/install.R
# Install r1001genomes from github repo
RUN R -e 'devtools::install_github("wrightrc/r1001genomes", ref = "docker-stable")'
# Add files to the image
#ADD . /home/rstudio/