Created
January 7, 2018 06:57
-
-
Save eschen42/6b4d7b95a3946d0e36396e7a28d691f5 to your computer and use it in GitHub Desktop.
Dockerfile with RStudio, R 3.4.3, and devtools
This file contains hidden or 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
# RStudio with vignette-building capability | |
# Step 1 - build from this Dockerfile | |
# docker build -t eschen42/devtools . | |
# Step 2 - create a home directory | |
# mkdir ~/rstudio | |
# Step 3 - run the container with this new directory | |
# docker run --rm -ti -p 8787:8787 -v ~/rstudio:/home/rstudio eschen42/devtools | |
# Step 4 - browse to RStudio as http://localhost:8787 | |
FROM rocker/verse:3.4.3 | |
MAINTAINER Arthur C. Eschenlauer, [email protected] | |
RUN /bin/sh -c 'apt-get update' && \ | |
/bin/sh -c 'apt-get install -y texlive-science texlive-latex-extra' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment