-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
12 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,18 @@ | ||
FROM rocker/r-ver:4 | ||
FROM rocker/r-ver:4.4.1 | ||
|
||
RUN apt-get -y update && apt-get install -y libnlopt-dev zlib1g-dev \ | ||
libzmq3-dev libharfbuzz-dev libfribidi-dev libfreetype6-dev libpng-dev \ | ||
libtiff5-dev libjpeg-dev build-essential libcurl4-openssl-dev libxml2-dev \ | ||
libssl-dev libfontconfig1-dev \ | ||
libtiff5-dev libjpeg-dev build-essential libcurl4-gnutls-dev libxml2-dev \ | ||
libssl-dev libfontconfig1-dev cmake \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
RUN install2.r --error devtools | ||
COPY deps.R /tmp | ||
RUN Rscript /tmp/deps.R > /tmp/deps.log | ||
RUN install2.r --error igraph ggplot2 nplotr | ||
# RUN Rscript -e "install.packages(c('pbkrtest', 'lme4', 'pbkrtest', 'lme4'), repos='http://cran.us.r-project.org');" | ||
# RUN Rscript -e "install.packages(c('ggpubr', 'cowplot', 'rshape2'), repos='http://cran.us.r-project.org');" | ||
# devtools::install_github('nathan-russell/hashmap') | ||
ARG REPO=http://cran.us.r-project.org | ||
|
||
RUN install2.r -s -e -r ${REPO} remotes | ||
RUN Rscript -e "remotes::install_github('nathan-russell/hashmap')" | ||
RUN install2.r -s -e -r ${REPO} igraph ggplot2 | ||
RUN install2.r -s -e -r ${REPO} pbkrtest lme4 pbkrtest lme4 | ||
RUN install2.r -s -e -r ${REPO} ggpubr cowplot reshape2 nloptr | ||
|
||
RUN rm -rf /tmp/downloaded_packages \ | ||
&& strip /usr/local/lib/R/site-library/*/libs/*.so |
This file was deleted.
Oops, something went wrong.