Dockerfile R-Base:3.6.3 Bionic
FROM ubuntu:bionic-20221019
RUN sed -i 's/kr.archive.ubuntu.com/ftp.daumkakao.com/g' /etc/apt/sources.list && \
sed -i 's/archive.ubuntu.com/ftp.daumkakao.com/g' /etc/apt/sources.list && \
sed -i 's/security.ubuntu.com/ftp.daumkakao.com/g' /etc/apt/sources.list && \
ln -sf /usr/share/zoneinfo/Asia/Seoul /etc/localtime && \
apt update && apt install -y gpg wget apt-transport-https software-properties-common tzdata
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9 && \
add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu bionic-cran35/' && \
add-apt-repository ppa:marutter/c2d4u3.5
RUN wget -O - https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor -o microsoft.asc.gpg && \
mv microsoft.asc.gpg /etc/apt/trusted.gpg.d/ && \
wget https://packages.microsoft.com/config/ubuntu/18.04/prod.list && \
mv prod.list /etc/apt/sources.list.d/microsoft-prod.list && \
apt update && apt install -y aspnetcore-runtime-6.0 r-base
RUN apt install -y r-cran-biasedurn \
r-cran-car \
r-cran-data.tree \
r-cran-diagrammer \
r-cran-digest \
r-cran-diptest \
r-cran-ggally \
r-cran-ggplot2 \
r-cran-ggrepel \
r-cran-ggridges \
r-cran-gparotation \
r-cran-gridextra \
r-cran-gtable \
r-cran-knitr \
r-cran-lavaan \
r-cran-lme4 \
r-cran-mbess \
r-cran-minpack.lm \
r-cran-pander \
r-cran-plyr \
r-cran-psych \
r-cran-pwr \
r-cran-rcolorbrewer \
r-cran-rio \
r-cran-scales \
r-cran-scrt \
r-cran-suppdists \
r-cran-ufs \
r-cran-viridis \
r-cran-xml \
r-cran-xtable
RUN R -e "install.packages('https://cran.r-project.org/src/contrib/Archive/userfriendlyscience/userfriendlyscience_0.7.2.tar.gz',dependencies=TRUE,type='source')"
RUN apt install -y r-cran-dplyr \
r-cran-dt \
r-cran-dunn.test \
r-cran-lubridate \
r-cran-nbclust \
r-cran-openxlsx \
r-cran-pryr \
r-cran-readr \
r-cran-reshape2 \
r-cran-splitstackshape \
r-cran-stringr
728x90
댓글