Skip to content

Commit 72e5bb8

Browse files
committed
Install fonts in HPS server image (#4792)
1 parent ec78e6a commit 72e5bb8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

deploy/hps/server_env/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,8 @@ RUN groupadd -g 1000 paddlex \
140140
# Not sure if all these deps are necessary
141141
RUN apt-get update \
142142
&& apt-get install -y --no-install-recommends libre2-5 libssl1.1 libb64-0d libnuma1 libarchive13 python3.10-dev libgl1-mesa-glx libglib2.0-0 libgomp1 ccache binutils build-essential texlive texlive-latex-base texlive-latex-extra \
143+
&& apt-get install -y --no-install-recommends fontconfig fonts-dejavu-core fonts-liberation fonts-noto-cjk fonts-wqy-microhei fonts-freefont-ttf \
144+
&& fc-cache -fv \
143145
&& rm -rf /var/lib/apt/lists/*
144146

145147
COPY --from=build3 --chown=paddlex:paddlex /paddlex/libs /paddlex/libs

0 commit comments

Comments
 (0)