Commit e28c3e33 authored by Sparkf's avatar Sparkf 🏙️
Browse files

fix pygments, add more font package

parent c4a1db58
Loading
Loading
Loading
Loading
+9 −5
Original line number Diff line number Diff line
@@ -29,13 +29,17 @@ RUN npm install -g npm --registry=https://registry.npmmirror.com && \
    apt-get -y install libxml-libxslt-perl cpanminus libbtparse2 python-pygments && \
    # now install latest texlive2023 from tlmgr
    tlmgr update --self --all  && \
    tlmgr install scheme-full --verify-repo=none && \
    apt-get clean && \
    rm -rf /var/lib/apt/lists/*
    tlmgr install scheme-full --verify-repo=none

# fonts
RUN apt install fonts-noto-cjk fonts-noto-cjk-extra fonts-noto-color-emoji xfonts-wqy fonts-font-awesome

RUN apt-get -y install fonts-noto-cjk fonts-noto-cjk-extra fonts-noto-color-emoji xfonts-wqy fonts-font-awesome
# flush font cache
RUN fc-cache -fv

# pip and pygments fix
RUN apt-get -y install python3-pip
RUN pip3 config set global.index-url https://mirrors.sustech.edu.cn/pypi/web/simple
RUN pip3 install Pygments

# latex-bin must be on path to be found in compilation process
# needed for biber epstopdf and others