Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +28 -35
Dockerfile
CHANGED
|
@@ -3,7 +3,7 @@ FROM rocker/shiny:latest
|
|
| 3 |
# Set working directory inside container
|
| 4 |
WORKDIR /code
|
| 5 |
|
| 6 |
-
# Install additional system dependencies
|
| 7 |
RUN apt-get update && apt-get install -y \
|
| 8 |
libcurl4-openssl-dev \
|
| 9 |
libssl-dev \
|
|
@@ -20,20 +20,15 @@ RUN apt-get update && apt-get install -y \
|
|
| 20 |
zlib1g-dev \
|
| 21 |
libbz2-dev \
|
| 22 |
liblzma-dev \
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
&& rm -rf /var/lib/apt/lists/*
|
| 24 |
|
| 25 |
-
# Install
|
| 26 |
-
RUN install2.r --error \
|
| 27 |
-
htmltools \
|
| 28 |
-
htmlwidgets \
|
| 29 |
-
jsonlite \
|
| 30 |
-
crosstalk \
|
| 31 |
-
magrittr \
|
| 32 |
-
promises \
|
| 33 |
-
foreach \
|
| 34 |
-
doParallel
|
| 35 |
-
|
| 36 |
-
# Then install the main packages (excluding QTLseqr and vcfR for now)
|
| 37 |
RUN install2.r --error \
|
| 38 |
nloptr \
|
| 39 |
lme4 \
|
|
@@ -49,7 +44,6 @@ RUN install2.r --error \
|
|
| 49 |
corrplot \
|
| 50 |
heatmaply \
|
| 51 |
UpSetR \
|
| 52 |
-
ggrepel \
|
| 53 |
ggcorrplot \
|
| 54 |
cowplot \
|
| 55 |
pheatmap \
|
|
@@ -57,32 +51,31 @@ RUN install2.r --error \
|
|
| 57 |
ggridges \
|
| 58 |
ggExtra \
|
| 59 |
circlize \
|
| 60 |
-
ComplexHeatmap \
|
| 61 |
foreach \
|
| 62 |
-
doParallel
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
|
| 67 |
-
# Install
|
| 68 |
-
RUN
|
|
|
|
| 69 |
|
| 70 |
-
# Install
|
| 71 |
-
RUN
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
# Install remotes for GitHub installations
|
| 80 |
-
RUN install2.r --error remotes
|
| 81 |
|
| 82 |
-
# Install
|
| 83 |
-
RUN R -e "
|
|
|
|
| 84 |
|
| 85 |
-
# Create www directory and health file
|
| 86 |
RUN mkdir -p /code/www && echo "OK" > /code/www/health
|
| 87 |
|
| 88 |
# Copy app code
|
|
|
|
| 3 |
# Set working directory inside container
|
| 4 |
WORKDIR /code
|
| 5 |
|
| 6 |
+
# Install additional system dependencies
|
| 7 |
RUN apt-get update && apt-get install -y \
|
| 8 |
libcurl4-openssl-dev \
|
| 9 |
libssl-dev \
|
|
|
|
| 20 |
zlib1g-dev \
|
| 21 |
libbz2-dev \
|
| 22 |
liblzma-dev \
|
| 23 |
+
libharfbuzz-dev \
|
| 24 |
+
libfribidi-dev \
|
| 25 |
+
libfreetype6-dev \
|
| 26 |
+
libpng-dev \
|
| 27 |
+
libtiff5-dev \
|
| 28 |
+
libjpeg-dev \
|
| 29 |
&& rm -rf /var/lib/apt/lists/*
|
| 30 |
|
| 31 |
+
# Install CRAN packages
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
RUN install2.r --error \
|
| 33 |
nloptr \
|
| 34 |
lme4 \
|
|
|
|
| 44 |
corrplot \
|
| 45 |
heatmaply \
|
| 46 |
UpSetR \
|
|
|
|
| 47 |
ggcorrplot \
|
| 48 |
cowplot \
|
| 49 |
pheatmap \
|
|
|
|
| 51 |
ggridges \
|
| 52 |
ggExtra \
|
| 53 |
circlize \
|
|
|
|
| 54 |
foreach \
|
| 55 |
+
doParallel \
|
| 56 |
+
tidyverse \
|
| 57 |
+
igraph \
|
| 58 |
+
data.table
|
| 59 |
|
| 60 |
+
# Install BiocManager and Bioconductor packages
|
| 61 |
+
RUN R -e "install.packages('BiocManager', repos='https://cloud.r-project.org/')" && \
|
| 62 |
+
R -e "BiocManager::install(c('ComplexHeatmap', 'GenomicRanges', 'IRanges', 'S4Vectors', 'Biostrings', 'Rsamtools', 'GenomeInfoDb'), ask=FALSE, update=FALSE)"
|
| 63 |
|
| 64 |
+
# Install remaining packages
|
| 65 |
+
RUN install2.r --error \
|
| 66 |
+
qtl \
|
| 67 |
+
shinycssloaders \
|
| 68 |
+
gridExtra \
|
| 69 |
+
ggplot2 \
|
| 70 |
+
dplyr \
|
| 71 |
+
tidyr \
|
| 72 |
+
scales
|
|
|
|
|
|
|
| 73 |
|
| 74 |
+
# Install qtlcharts from GitHub
|
| 75 |
+
RUN R -e "install.packages('devtools', repos='https://cloud.r-project.org/')" && \
|
| 76 |
+
R -e "devtools::install_github('kbroman/qtlcharts', upgrade='never', dependencies=FALSE)"
|
| 77 |
|
| 78 |
+
# Create www directory and health file
|
| 79 |
RUN mkdir -p /code/www && echo "OK" > /code/www/health
|
| 80 |
|
| 81 |
# Copy app code
|