International Rice Research Institute commited on
Update Dockerfile
Browse files- Dockerfile +8 -3
Dockerfile
CHANGED
|
@@ -18,6 +18,9 @@ RUN apt-get update && apt-get install -y \
|
|
| 18 |
libglpk-dev \
|
| 19 |
libglpk40
|
| 20 |
|
|
|
|
|
|
|
|
|
|
| 21 |
# Install DT dependencies first
|
| 22 |
RUN install2.r --error \
|
| 23 |
htmltools \
|
|
@@ -27,7 +30,7 @@ RUN install2.r --error \
|
|
| 27 |
magrittr \
|
| 28 |
promises
|
| 29 |
|
| 30 |
-
# Then install the main packages
|
| 31 |
RUN install2.r --error \
|
| 32 |
nloptr \
|
| 33 |
lme4 \
|
|
@@ -43,12 +46,14 @@ RUN install2.r --error \
|
|
| 43 |
blme \
|
| 44 |
pbkrtest \
|
| 45 |
lmerTest \
|
| 46 |
-
GGally
|
| 47 |
-
colorpicker
|
| 48 |
|
| 49 |
# Install tidyverse and igraph
|
| 50 |
RUN install2.r --error tidyverse igraph
|
| 51 |
|
|
|
|
|
|
|
|
|
|
| 52 |
# Create www directory and health file directly (NO external file needed)
|
| 53 |
RUN mkdir -p /code/www && echo "OK" > /code/www/health
|
| 54 |
|
|
|
|
| 18 |
libglpk-dev \
|
| 19 |
libglpk40
|
| 20 |
|
| 21 |
+
# Install remotes package first (needed for GitHub installations)
|
| 22 |
+
RUN install2.r --error remotes
|
| 23 |
+
|
| 24 |
# Install DT dependencies first
|
| 25 |
RUN install2.r --error \
|
| 26 |
htmltools \
|
|
|
|
| 30 |
magrittr \
|
| 31 |
promises
|
| 32 |
|
| 33 |
+
# Then install the main packages (removed colorpicker from this list)
|
| 34 |
RUN install2.r --error \
|
| 35 |
nloptr \
|
| 36 |
lme4 \
|
|
|
|
| 46 |
blme \
|
| 47 |
pbkrtest \
|
| 48 |
lmerTest \
|
| 49 |
+
GGally
|
|
|
|
| 50 |
|
| 51 |
# Install tidyverse and igraph
|
| 52 |
RUN install2.r --error tidyverse igraph
|
| 53 |
|
| 54 |
+
# Install colourpicker from GitHub
|
| 55 |
+
RUN R -e "remotes::install_github('daattali/colourpicker')"
|
| 56 |
+
|
| 57 |
# Create www directory and health file directly (NO external file needed)
|
| 58 |
RUN mkdir -p /code/www && echo "OK" > /code/www/health
|
| 59 |
|