File size: 912 Bytes
d8c4cc0
1d0a0f0
d8c4cc0
1d0a0f0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
682c55c
1d0a0f0
f5417ea
1d0a0f0
 
d524dbd
 
1d0a0f0
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
FROM rocker/tidyverse:4.3.3

MAINTAINER Aep Hidayatuloh <[email protected]>

RUN apt-get clean all && \
    apt-get update && \
    apt-get upgrade -y && \
    apt-get install -y \
        libhdf5-dev \
        libcurl4-gnutls-dev \
        libssl-dev \
        libxml2-dev \
        libpng-dev \
        libxt-dev \
        zlib1g-dev \
        libbz2-dev \
        liblzma-dev \
        libglpk40 \
        libgit2-dev \
    && apt-get clean all && \
    apt-get purge && \
    rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

USER rstudio
RUN Rscript -e "install.packages(c('tidymodels', 'tidyverse', 'ggcorrplot', 'readxl', 'skimr'));"
RUN chown rstudio:rstudio /var/run/s6

# the rstudio/ path is set for building with GitHub Actions
#COPY --chown=rstudio:rstudio rstudio/rstudio-prefs.json /home/rstudio/.config/rstudio
#COPY --chown=rstudio:rstudio rstudio/.Rprofile /home/rstudio/

WORKDIR /home/rstudio