Skip to content
Snippets Groups Projects
Commit 992ec2b3 authored by Gustavo Trott's avatar Gustavo Trott
Browse files

Install Libreoffice 7 and MS fonts in Docker to convert presentations

parent 3acb3ab1
No related branches found
No related tags found
No related merge requests found
......@@ -2,12 +2,21 @@ FROM openjdk:11-jre
ENV DEBIAN_FRONTEND noninteractive
#Required to install Libreoffice 7
RUN echo "deb http://deb.debian.org/debian buster-backports main" >> /etc/apt/sources.list
#Required to install MS fonts
RUN echo "deb http://deb.debian.org/debian buster contrib" >> /etc/apt/sources.list
RUN apt update
RUN apt -y install locales-all fontconfig libxt6 libxrender1
RUN apt -y install --no-install-recommends libreoffice fonts-crosextra-carlito fonts-crosextra-caladea fonts-noto fonts-noto-cjk
RUN apt install -y -t buster-backports libreoffice
RUN apt -y install --no-install-recommends fonts-crosextra-carlito fonts-crosextra-caladea fonts-noto fonts-noto-cjk
#MS fonts
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 dpkg-reconfigure fontconfig && fc-cache -f -s -v
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment