Skip to content

Commit

Permalink
jupyter-docker: move to R 3.4 (#334)
Browse files Browse the repository at this point in the history
  • Loading branch information
eap authored and rtitle committed Apr 25, 2018
1 parent edfe87a commit 7f88a36
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions jupyter-docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,16 @@ USER root

ENV DEBIAN_FRONTEND noninteractive
ENV DEBIAN_REPO http://cdn-fastly.deb.debian.org

RUN echo "deb $DEBIAN_REPO/debian jessie main\ndeb $DEBIAN_REPO/debian-security jessie/updates main\ndeb $DEBIAN_REPO/debian jessie-backports main" > /etc/apt/sources.list \
&& apt-get update && apt-get -yq dist-upgrade \
ENV CRAN_REPO http://cran.mtu.edu

RUN echo "deb $DEBIAN_REPO/debian jessie main" > /etc/apt/sources.list \
&& echo "deb $DEBIAN_REPO/debian-security jessie/updates main" >> /etc/apt/sources.list \
&& echo "deb $DEBIAN_REPO/debian jessie-backports main" >> /etc/apt/sources.list \
&& echo "deb $CRAN_REPO/bin/linux/debian jessie-cran34/" >> /etc/apt/sources.list \
&& apt-key adv --keyserver keys.gnupg.net \
--recv-key 'E19F5F87128899B192B1A2C2AD5F960A256A04AF' \
&& apt-get update \
&& apt-get -yq dist-upgrade \
&& apt-get install -yq --no-install-recommends \
nano \
wget \
Expand Down Expand Up @@ -165,16 +172,17 @@ RUN apt-get install -yq --no-install-recommends python3 \
# R Kernel
#######################

RUN apt-get update && apt-get -t jessie-backports install -y --no-install-recommends \
r-base=3.3.3-1~bpo8+1 r-base-dev=3.3.3-1~bpo8+1 \
RUN apt-get -t jessie-cran34 install -y --no-install-recommends \
r-base \
r-base-dev \
r-recommended \
&& apt-get install -y --no-install-recommends \
fonts-dejavu \
tzdata \
gfortran \
gcc \
libcurl4-openssl-dev \
libssl-dev \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
libssl-dev

RUN R -e 'install.packages(c( \
"repr", \
Expand Down

0 comments on commit 7f88a36

Please sign in to comment.