Last active
December 31, 2018 11:10
-
-
Save RottenFruits/f56478dee631c371c5377128c3953334 to your computer and use it in GitHub Desktop.
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
FROM centos:6 | |
#print doing command | |
RUN set -x | |
#install utility command | |
RUN yum -y install epel-release && \ | |
yum install -y wget && \ | |
yum install -y sudo | |
#install r and rstudio server | |
RUN sudo yum -y install R && \ | |
mkdir downloads && \ | |
cd downloads && \ | |
wget -q https://download2.rstudio.org/rstudio-server-rhel-1.1.463-x86_64.rpm && \ | |
sudo yum -y install rstudio-server-rhel-1.1.463-x86_64.rpm | |
#user setting | |
RUN adduser rstudio && \ | |
echo "rstudio:rstudio" | chpasswd | |
EXPOSE 8787 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment