mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-12 12:32:58 +00:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user