Skip to content
Snippets Groups Projects
Commit 46504513 authored by Karl Forner's avatar Karl Forner
Browse files

removed junk files

parent fa971459
No related branches found
No related tags found
No related merge requests found
## Emacs, make this -*- mode: sh; -*-
### Rocker 3.1.1-1 - debian snapshot 20140711
## use a fixed debian version for reproducibility
FROM debian:jessie
## This handle reaches Carl and Dirk
MAINTAINER "Carl Boettiger and Dirk Eddelbuettel" rocker-maintainers@eddelbuettel.com
### SNAPSHOTTING
RUN echo 'deb http://snapshot.debian.org/archive/debian/20140730/ jessie main' >> /etc/apt/sources.list.d/snapshot.list \
&& apt-get -o Acquire::Check-Valid-Until=false update
## Now install R and littler, and create a link for littler in /usr/local/bin
RUN apt-get install -y --no-install-recommends \
ed \
less \
littler\
locales \
r-base-dev=3.1.1-1 \
r-base-core=3.1.1-1\
r-recommended=3.1.1-1
vim-tiny \
wget \
&& ln -s /usr/share/doc/littler/examples/install.r /usr/local/bin/install.r \
&& ln -s /usr/share/doc/littler/examples/install2.r /usr/local/bin/install2.r \
&& ln -s /usr/share/doc/littler/examples/installGithub.r /usr/local/bin/installGithub.r \
&& ln -s /usr/share/doc/littler/examples/testInstalled.r /usr/local/bin/testInstalled.r
## Set the corresponding MRAN snapshot Repo
RUN mecho 'options(repos = list(CRAN = "http://mran.revolutionanalytics.com/snapshot/2014-09-08/"))' >> /etc/R/Rprofile.site
RUN install.r docopt
&& rm -rf /tmp/downloaded_packages/
## Set a default user. Available via runtime flag `--user docker`
RUN useradd -g staff -m docker
## Configure default locale
RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen \
&& locale-gen en_US.utf8 \
&& /usr/sbin/update-locale LANG=en_US.UTF-8
ENV LC_ALL en_US.UTF-8
NAME=r-base-3.1.1
all: build
build:
docker build -t $(NAME) .
run: build
docker run -ti $(NAME) bash
deb http://snapshot.debian.org/archive/debian/20140710T163307Z/ jessie main contrib non-free
deb http://snapshot.debian.org/archive/debian/20140710T163307Z/ jessie/updates main contrib non-free
deb http://snapshot.debian.org/archive/debian/20140729T221248Z jessie main contrib non-free
deb http://snapshot.debian.org/archive/debian-security/20140729T221248Z jessie/updates main contrib non-free
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment