Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Maintenance - Mise à jour mensuelle Lundi 6 Février entre 7h00 et 9h00
Open sidebar
UMR-ASTRE
Covid19-Mortality-Visualisation
Commits
326ad955
Commit
326ad955
authored
Jun 13, 2020
by
Facundo Muñoz
®️
Browse files
Install MS Arial font in Docker image.
parent
beebe849
Changes
1
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
326ad955
...
...
@@ -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"
]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment