[ADD] Times New Roman: установка шрифтов в Docker + fontconfig
This commit is contained in:
+11
@@ -7,8 +7,19 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
texlive-lang-cyrillic \
|
||||
texlive-latex-extra \
|
||||
fonts-liberation \
|
||||
cabextract \
|
||||
wget \
|
||||
fontconfig \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN cd /tmp && \
|
||||
wget -q https://downloads.sourceforge.net/corefonts/times32.exe && \
|
||||
cabextract times32.exe && \
|
||||
mkdir -p /usr/share/fonts/truetype/msttcorefonts && \
|
||||
cp -f *.TTF /usr/share/fonts/truetype/msttcorefonts/ && \
|
||||
fc-cache -f && \
|
||||
rm -f /tmp/*.TTF /tmp/times32.exe
|
||||
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
RUN uv sync --frozen --no-dev
|
||||
|
||||
Reference in New Issue
Block a user