Commit 326ad955 authored by Facundo Muñoz's avatar Facundo Muñoz ®️
Browse files

Install MS Arial font in Docker image.

parent beebe849
......@@ -6,9 +6,18 @@ FROM rocker/geospatial
LABEL maintainer="Facundo Muñoz facundo.munoz@cirad.fr"
# # Install external dependencies
# RUN export DEBIAN_FRONTEND=noninteractive; apt-get -qq update \
# && apt-get install -y --no-install-recommends \
# Install external dependencies
## Install MS Fonts (using Arial for the pdf document)
## Pre-accept licence
## https://github.com/captnswing/msttcorefonts
RUN echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" | debconf-set-selections
RUN apt-get install -y --no-install-recommends fontconfig ttf-mscorefonts-installer
RUN export DEBIAN_FRONTEND=noninteractive; apt-get -qq update \
&& apt-get install -y --no-install-recommends \
fontconfig \
ttf-mscorefonts-installer \
# libv8-dev \
# libjq-dev \
# libprotobuf-dev \
......@@ -23,11 +32,13 @@ LABEL maintainer="Facundo Muñoz facundo.munoz@cirad.fr"
# libudunits2-dev \
# libcairo2-dev \
# qpdf \
# && apt-get clean \
# && rm -rf /var/lib/apt/lists/
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/
# Install required LaTeX packages for pdf reports
RUN tlmgr install \
RUN tlmgr update --self \
&& tlmgr install \
amsfonts \
amsmath \
latex-amsmath-dev \
......@@ -61,7 +72,13 @@ geometry \
latex-tools-dev \
booktabs \
grffile \
epstopdf-pkg
epstopdf-pkg \
euenc \
fontspec \
lm-math \
tipa \
unicode-math \
xunicode
# Install R-package dependencies for compiling reports
RUN ["install2.r", "ade4", "Cairo", "countrycode", "cshapes", "drake", "furrr", "future.callr", "ggthemes", "ggrepel", "here", "hrbrthemes", "janitor", "knitr", "latticeExtra", "pacman", "readxl", "rjson", "rmarkdown", "rmdformats"]
......
Supports Markdown
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