Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
@greena12
Latest commit 0c24123 Oct 18, 2023 History
2 contributors

Users who have contributed to this file

@greena12 @erickj4
FROM openanalytics/r-base
MAINTAINER John Erickson "erickj4@rpi.edu"
RUN apt-get remove cmake
RUN apt-get update
RUN apt-get upgrade -y
RUN apt-get install -y cmake
# system libraries of general use
RUN apt-get update && apt-get install -y --no-install-recommends \
sudo \
# cmake \
libcurl4-gnutls-dev \
libcairo2-dev \
libxt-dev \
libssl-dev \
libssh2-1-dev \
libxml2-dev \
libproj-dev \
libgdal-dev \
libudunits2-dev \
libtiff-dev \
libjpeg-dev \
&& rm -rf /var/lib/apt/lists/*
## Regular R packages
RUN R -e 'install.packages("ggplot2",repos="https://cloud.r-project.org/")'
RUN R -e 'install.packages("shiny",repos="https://cloud.r-project.org/")'
RUN R -e 'install.packages("dplyr",repos="https://cloud.r-project.org/")'
RUN R -e 'install.packages("survival",repos="https://cloud.r-project.org/")'
RUN R -e 'install.packages("readr",repos="https://cloud.r-project.org/")'
RUN R -e 'install.packages("bslib",repos="https://cloud.r-project.org/")'
RUN R -e 'install.packages("survminer",repos="https://cloud.r-project.org/")'
RUN R -e 'install.packages("lubridate",repos="https://cloud.r-project.org/")'
RUN R -e 'install.packages("RColorBrewer",repos="https://cloud.r-project.org/")'
RUN R -e 'install.packages("shinyBS",repos="https://cloud.r-project.org/")'
RUN R -e 'install.packages("ggrepel",repos="https://cloud.r-project.org/")'
RUN R -e 'install.packages("DT",repos="https://cloud.r-project.org/")'
RUN R -e 'install.packages("pheatmap",repos="https://cloud.r-project.org/")'
RUN R -e 'install.packages("sClust", repos="https://cloud.r-project.org/")'
RUN R -e 'install.packages("gridExtra", repos="https://cloud.r-project.org/")'
RUN R -e 'install.packages("ppclust", repos="https://cloud.r-project.org/")'
RUN R -e 'install.packages("reshape2", repos="https://cloud.r-project.org/")'
RUN R -e 'install.packages("clusterSim", repos="https://cloud.r-project.org/")'
RUN R -e 'install.packages("factoextra", repos="https://cloud.r-project.org/")'
RUN R -e 'install.packages("lamW", repos="https://cloud.r-project.org/")'
RUN R -e 'install.packages("e1071", repos="https://cloud.r-project.org/")'
RUN R -e 'install.packages("caret", repos="https://cloud.r-project.org/")'
RUN R -e 'install.packages("shinyjs", repos="https://cloud.r-project.org/")'
RUN R -e 'install.packages("plotly", repos="https://cloud.r-project.org/")'
RUN R -e 'install.packages("tibble", repos="https://cloud.r-project.org/")'
RUN R -e 'install.packages("heatmaply", repos="https://cloud.r-project.org/")'
# copy the app to the image
RUN mkdir /root/defitoolkit
COPY DeFi_Toolkit /root/defitoolkit
COPY Rprofile.site /usr/lib/R/etc/
EXPOSE 3838
CMD ["R", "-e", "shiny::runApp('/root/defitoolkit')"]