From bfe51a0ca48e08c9e2476e822adb476a9d6c7985 Mon Sep 17 00:00:00 2001 From: Jan Untersander <jan.untersander@ost.ch> Date: Tue, 13 Aug 2024 19:24:10 +0200 Subject: [PATCH] Add windows fonts (arial) to container --- Dockerfile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 561fa33..0b7fd8d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,8 +13,7 @@ RUN apt-get update -q \ libfontconfig1 \ locales \ fonts-liberation \ - vim \ - && rm -rf /var/lib/apt/lists/* + vim # Setting locales RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \ @@ -23,6 +22,13 @@ ENV LANG en_US.UTF-8 ENV LANGUAGE en_US:en ENV LC_ALL en_US.UTF-8 +# Add Windows Fonts +RUN echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" | debconf-set-selections; \ + apt-get install -qy ttf-mscorefonts-installer + +# Clean up APT cache when done. +RUN rm -rf /var/lib/apt/lists/* + # Install TexLive RUN wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz; \ mkdir /install-tl-unx; \ -- GitLab