Commit b7aeac87 authored by Peter Parente's avatar Peter Parente

Install libxrender1 to appease matplotlib

Bite the bullet and preinstall it so that plotting libs that default
to using desktop rendering just work (matplotlib, ggplot, ...)
out of the box without having to get configuration right beforehand
(e.g., %matplotlib inline ahead of matplotlib import)

Only adds ~100k to the image size

(c) Copyright IBM Corp. 2015
parent 1011206f
......@@ -49,7 +49,6 @@ ENV SPARK_OPTS --driver-java-options=-Xms1024M --driver-java-options=-Xmx4096M -
# R pre-requisites
RUN apt-get update && \
apt-get install -y --no-install-recommends \
libxrender1 \
fonts-dejavu \
gfortran \
gcc && apt-get clean
......
......@@ -7,7 +7,6 @@ USER root
# R pre-requisites
RUN apt-get update && \
apt-get install -y --no-install-recommends \
libxrender1 \
fonts-dejavu \
gfortran \
gcc && apt-get clean
......
......@@ -24,6 +24,7 @@ RUN apt-get update && apt-get install -yq --no-install-recommends \
texlive-fonts-recommended \
sudo \
locales \
libxrender1 \
&& apt-get clean
RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && \
locale-gen
......
......@@ -8,7 +8,6 @@ USER root
# R pre-requisites
RUN apt-get update && \
apt-get install -y --no-install-recommends \
libxrender1 \
fonts-dejavu \
gfortran \
gcc && apt-get clean
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment