FROM ubuntu:22.04 RUN echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" | debconf-set-selections RUN apt update && \ apt install --no-install-recommends -y \ wget \ git \ make \ apt-transport-https \ unzip && \ apt install --no-install-recommends -y \ texlive-base \ texlive-latex-extra \ texlive-xetex \ texlive-lang-cyrillic \ texlive-fonts-extra \ texlive-science \ texlive-latex-recommended \ latexmk RUN apt install --no-install-recommends --reinstall -y \ ttf-mscorefonts-installer \ fonts-freefont-ttf \ fontconfig && \ wget -O /usr/share/fonts/xits-math.otf https://github.com/khaledhosny/xits-math/raw/master/XITSMath-Regular.otf