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
This commit is contained in:
Peter Parente
2015-12-29 09:35:16 -05:00
parent 1011206f0e
commit b7aeac87f4
4 changed files with 1 additions and 3 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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