Skip to content

Instantly share code, notes, and snippets.

@pratos
Created August 2, 2018 12:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pratos/6e1948c2d4431cf5578a49d383fbd233 to your computer and use it in GitHub Desktop.
Save pratos/6e1948c2d4431cf5578a49d383fbd233 to your computer and use it in GitHub Desktop.
Custom Dockerfile
FROM rocker/tidyverse
RUN apt-get update && apt-get -y upgrade && apt-get install -y \
build-essential libssl-dev libffi-dev libxml2-dev libcurl4-openssl-dev
RUN mkdir /home/rstudio/data /home/rstudio/models
VOLUME ['/home/rstudio/data', '/home/rstudio/models']
RUN Rscript -e "install.packages(c('dummy', 'corrplot', 'pROC'), dependencies=TRUE)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment