It's a docker image built for Chinese ms fonts.
And we replace apt source with Tinghua's.
run.sh.#!/bin/bash
docker run --rm \
--name some-texlive \
-v $(pwd):/workspace \
-it wenfengand/texlive:2017msfonts
chmod +x run.sh
./run.sh
xelatex some.tex
FROM texlive/texlive-full:2017
# MAINTAINER
MAINTAINER [email protected]
COPY sources.list /etc/apt/sources.list
COPY fonts/ /usr/share/fonts/msfonts/
RUN apt update && \
apt install -y fontconfig xfonts-utils && \
cd /usr/share/fonts/msfonts/ && \
mkfontscale && \
mkfontdir && \
fc-cache -fv && \
apt install make
# change dir to /
WORKDIR /workspace
CMD ["bash"]
sources.list
deb http://mirrors.tuna.tsinghua.edu.cn/debian/ jessie main contrib non-free
deb http://mirrors.tuna.tsinghua.edu.cn/debian/ jessie-updates main contrib non-free
deb http://mirrors.tuna.tsinghua.edu.cn/debian-security jessie/updates main contrib non-free
Contents in local folder fonts should be downloaded from ... (TODO).
Content type
Image
Digest
Size
1.3 GB
Last updated
almost 7 years ago
docker pull wenfengand/texlive:2017msfonts