Skip to content

Instantly share code, notes, and snippets.

@eschen42
Created January 7, 2018 06:57
Show Gist options
  • Save eschen42/6b4d7b95a3946d0e36396e7a28d691f5 to your computer and use it in GitHub Desktop.
Save eschen42/6b4d7b95a3946d0e36396e7a28d691f5 to your computer and use it in GitHub Desktop.
Dockerfile with RStudio, R 3.4.3, and devtools
# 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, esch0041@umn.edu
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