Skip to content

Instantly share code, notes, and snippets.

@dragoonis
Created January 18, 2018 14:54
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 dragoonis/08ac0c2599369a33ea7d03226be0d14c to your computer and use it in GitHub Desktop.
Save dragoonis/08ac0c2599369a33ea7d03226be0d14c to your computer and use it in GitHub Desktop.
RUN apt-get update && \
apt-get install -y --no-install-recommends software-properties-common && \
# todo - put this at the start
add-apt-repository "deb http://cran.ma.imperial.ac.uk/bin/linux/ubuntu xenial/" && \
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9 && \
apt-get update && \
apt-get install -y --no-install-recommends --allow-unauthenticated r-base && \
rm -rf /var/lib/apt/lists/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment