Skip to content

Commit

Permalink
[#7]Spark executor image Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
dcvan24 committed Mar 22, 2018
1 parent 3fc5ee3 commit bf19d2c
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docker/spark-executor/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM mesosphere/spark:1.0.9-2.1.0-1-hadoop-2.6

RUN apt-get purge -y r-base* r-recommended r-doc-html \
&& apt-get -y autoremove \
&& apt-get install -y --force-yes apt-transport-https

RUN echo "deb https://cran.r-project.org/bin/linux/ubuntu trusty/" >> /etc/apt/sources.list \
&& apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 51716619E084DAB9 \
&& apt-get update \
&& apt-get install -y r-base r-base-dev

RUN Rscript -e "install.packages(c('Hmisc', 'readr', 'dplyr', 'data.table', 'vioplot', \
'plotly', 'visNetwork', 'shiny'), \
repo='http://cran.us.r-project.org')"
RUN apt-get -y autoremove && apt-get autoclean

0 comments on commit bf19d2c

Please sign in to comment.