International Rice Research Institute commited on
Commit
921159a
·
verified ·
1 Parent(s): aad7159

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +9 -4
Dockerfile CHANGED
@@ -23,6 +23,12 @@ RUN apt-get update && apt-get install -y \
23
  && apt-get clean \
24
  && rm -rf /var/lib/apt/lists/*
25
 
 
 
 
 
 
 
26
  # Install DT dependencies
27
  RUN install2.r --error --repo https://cloud.r-project.org \
28
  htmltools \
@@ -33,7 +39,7 @@ RUN install2.r --error --repo https://cloud.r-project.org \
33
  promises \
34
  > install_dt.log 2>&1 || cat install_dt.log
35
 
36
- # Install main packages, including qtlDesign (moved from GitHub to CRAN)
37
  RUN install2.r --error --repo https://cloud.r-project.org \
38
  nloptr \
39
  lme4 \
@@ -50,7 +56,6 @@ RUN install2.r --error --repo https://cloud.r-project.org \
50
  caret \
51
  writexl \
52
  viridis \
53
- devtools \
54
  tidyverse \
55
  shinythemes \
56
  shinyBS \
@@ -75,8 +80,8 @@ RUN install2.r --error --repo https://cloud.r-project.org \
75
  > install_qtl.log 2>&1 || cat install_qtl.log
76
 
77
  # Install packages from GitHub
78
- RUN R -e "devtools::install_github('jtlovell/qtlTools', ref='main')" > install_qtlTools.log 2>&1 || cat install_qtlTools.log
79
- RUN R -e "devtools::install_github('bmansfeld/QTLseqr', ref='main')" > install_QTLseqr.log 2>&1 || cat install_QTLseqr.log
80
 
81
  # Create www directory and health file
82
  RUN mkdir -p /code/www && echo "OK" > /code/www/health
 
23
  && apt-get clean \
24
  && rm -rf /var/lib/apt/lists/*
25
 
26
+ # Install devtools and remotes first
27
+ RUN install2.r --error --repo https://cloud.r-project.org \
28
+ devtools \
29
+ remotes \
30
+ > install_devtools.log 2>&1 || cat install_devtools.log
31
+
32
  # Install DT dependencies
33
  RUN install2.r --error --repo https://cloud.r-project.org \
34
  htmltools \
 
39
  promises \
40
  > install_dt.log 2>&1 || cat install_dt.log
41
 
42
+ # Install main packages, including qtlDesign
43
  RUN install2.r --error --repo https://cloud.r-project.org \
44
  nloptr \
45
  lme4 \
 
56
  caret \
57
  writexl \
58
  viridis \
 
59
  tidyverse \
60
  shinythemes \
61
  shinyBS \
 
80
  > install_qtl.log 2>&1 || cat install_qtl.log
81
 
82
  # Install packages from GitHub
83
+ RUN R -e "remotes::install_github('jtlovell/qtlTools', ref='main')" > install_qtlTools.log 2>&1 && cat install_qtlTools.log
84
+ RUN R -e "remotes::install_github('bmansfeld/QTLseqr', ref='main')" > install_QTLseqr.log 2>&1 && cat install_QTLseqr.log
85
 
86
  # Create www directory and health file
87
  RUN mkdir -p /code/www && echo "OK" > /code/www/health