Spaces:
Paused
Paused
International Rice Research Institute commited on
Update Dockerfile
Browse files- Dockerfile +20 -9
Dockerfile
CHANGED
|
@@ -17,20 +17,23 @@ RUN apt-get update && apt-get install -y \
|
|
| 17 |
libnode-dev \
|
| 18 |
libglpk-dev \
|
| 19 |
libglpk40 \
|
|
|
|
|
|
|
| 20 |
&& apt-get clean \
|
| 21 |
&& rm -rf /var/lib/apt/lists/*
|
| 22 |
|
| 23 |
# Install DT dependencies first
|
| 24 |
-
RUN install2.r --error \
|
| 25 |
htmltools \
|
| 26 |
htmlwidgets \
|
| 27 |
jsonlite \
|
| 28 |
crosstalk \
|
| 29 |
magrittr \
|
| 30 |
-
promises
|
|
|
|
| 31 |
|
| 32 |
-
# Install main packages
|
| 33 |
-
RUN install2.r --error \
|
| 34 |
nloptr \
|
| 35 |
lme4 \
|
| 36 |
emmeans \
|
|
@@ -44,27 +47,35 @@ RUN install2.r --error \
|
|
| 44 |
openxlsx \
|
| 45 |
randomForest \
|
| 46 |
caret \
|
| 47 |
-
qtl \
|
| 48 |
writexl \
|
| 49 |
viridis \
|
| 50 |
devtools \
|
| 51 |
tidyverse \
|
| 52 |
-
igraph \
|
| 53 |
shinythemes \
|
| 54 |
shinyBS \
|
| 55 |
-
QTLseqr \
|
| 56 |
data.table \
|
| 57 |
dplyr \
|
| 58 |
tidyr \
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 59 |
vcfR \
|
| 60 |
dbscan \
|
| 61 |
factoextra \
|
| 62 |
-
cluster
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 63 |
|
| 64 |
# Install packages from GitHub
|
| 65 |
RUN R -e "devtools::install_github('cran/qtlDesign')" && \
|
| 66 |
R -e "devtools::install_github('jtlovell/qtlTools')" && \
|
| 67 |
-
R -e "devtools::install_github('bmansfeld/QTLseqr')"
|
| 68 |
|
| 69 |
# Create www directory and health file
|
| 70 |
RUN mkdir -p /code/www && echo "OK" > /code/www/health
|
|
|
|
| 17 |
libnode-dev \
|
| 18 |
libglpk-dev \
|
| 19 |
libglpk40 \
|
| 20 |
+
libgmp-dev \
|
| 21 |
+
zlib1g-dev \
|
| 22 |
&& apt-get clean \
|
| 23 |
&& rm -rf /var/lib/apt/lists/*
|
| 24 |
|
| 25 |
# Install DT dependencies first
|
| 26 |
+
RUN install2.r --error --repo https://cloud.r-project.org \
|
| 27 |
htmltools \
|
| 28 |
htmlwidgets \
|
| 29 |
jsonlite \
|
| 30 |
crosstalk \
|
| 31 |
magrittr \
|
| 32 |
+
promises \
|
| 33 |
+
--verbose > install_dt.log 2>&1 || cat install_dt.log
|
| 34 |
|
| 35 |
+
# Install main packages
|
| 36 |
+
RUN install2.r --error --repo https://cloud.r-project.org \
|
| 37 |
nloptr \
|
| 38 |
lme4 \
|
| 39 |
emmeans \
|
|
|
|
| 47 |
openxlsx \
|
| 48 |
randomForest \
|
| 49 |
caret \
|
|
|
|
| 50 |
writexl \
|
| 51 |
viridis \
|
| 52 |
devtools \
|
| 53 |
tidyverse \
|
|
|
|
| 54 |
shinythemes \
|
| 55 |
shinyBS \
|
|
|
|
| 56 |
data.table \
|
| 57 |
dplyr \
|
| 58 |
tidyr \
|
| 59 |
+
--verbose > install_main.log 2>&1 || cat install_main.log
|
| 60 |
+
|
| 61 |
+
# Install additional packages
|
| 62 |
+
RUN install2.r --error --repo https://cloud.r-project.org \
|
| 63 |
+
igraph \
|
| 64 |
vcfR \
|
| 65 |
dbscan \
|
| 66 |
factoextra \
|
| 67 |
+
cluster \
|
| 68 |
+
--verbose > install_extra.log 2>&1 || cat install_extra.log
|
| 69 |
+
|
| 70 |
+
# Install qtl package
|
| 71 |
+
RUN install2.r --error --repo https://cloud.r-project.org \
|
| 72 |
+
qtl \
|
| 73 |
+
--verbose > install_qtl.log 2>&1 || cat install_qtl.log
|
| 74 |
|
| 75 |
# Install packages from GitHub
|
| 76 |
RUN R -e "devtools::install_github('cran/qtlDesign')" && \
|
| 77 |
R -e "devtools::install_github('jtlovell/qtlTools')" && \
|
| 78 |
+
R -e "devtools::install_github('bmansfeld/QTLseqr')" > install_github.log 2>&1 || cat install_github.log
|
| 79 |
|
| 80 |
# Create www directory and health file
|
| 81 |
RUN mkdir -p /code/www && echo "OK" > /code/www/health
|