Public | Automated Build

Last pushed: a month ago
Dockerfile
FROM r-base:latest MAINTAINER Winston Chang "winston@rstudio.com" ## Install dependencies and Download and install shiny server ## See https://www.rstudio.com/products/shiny/download-server/ for the ## instructions followed here. RUN apt-get update && apt-get install -y -t unstable \ sudo \ gdebi-core \ pandoc \ pandoc-citeproc \ libcurl4-gnutls-dev \ libcairo2-dev/unstable \ libxt-dev && \ wget --no-verbose https://download3.rstudio.org/ubuntu-14.04/x86_64/VERSION -O "version.txt" && \ VERSION=$(cat version.txt) && \ wget --no-verbose "https://download3.rstudio.org/ubuntu-14.04/x86_64/shiny-server-$VERSION-amd64.deb" -O ss-latest.deb && \ gdebi -n ss-latest.deb && \ rm -f version.txt ss-latest.deb && \ R -e "install.packages(c('shiny', 'rmarkdown'), repos='https://cran.rstudio.com/')" && \ cp -R /usr/local/lib/R/site-library/shiny/examples/* /srv/shiny-server/ && \ rm -rf /var/lib/apt/lists/* EXPOSE 3838 COPY shiny-server.sh /usr/bin/shiny-server.sh ## Uncomment the line below to include a custom configuration file. You can download the default file at ## https://raw.githubusercontent.com/rstudio/shiny-server/master/config/default.config ## (The line below assumes that you have downloaded the file above to ./shiny-customized.config) ## Documentation on configuration options is available at ## http://docs.rstudio.com/shiny-server/ # COPY shiny-customized.config /etc/shiny-server/shiny-server.conf CMD ["/usr/bin/shiny-server.sh"]
Source Repository