From 4a3d8783d46691c0f82044491700826b64c3cece Mon Sep 17 00:00:00 2001 From: Leigg <34116031+chaseSpace@users.noreply.github.com> Date: Thu, 6 Jun 2024 09:44:17 +0800 Subject: [PATCH] build: add Chinese font pkg support Signed-off-by: Leigg <34116031+chaseSpace@users.noreply.github.com> --- alpine/5/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/alpine/5/Dockerfile b/alpine/5/Dockerfile index 8c865d8..8cc074b 100644 --- a/alpine/5/Dockerfile +++ b/alpine/5/Dockerfile @@ -38,13 +38,16 @@ RUN mv /usr/local/etc/php/php.ini-production /usr/local/etc/php/php.ini COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/ # Install chromium +# `ttf-dejavu` is Chinese supported fonts RUN set -eux; \ apk add --no-cache \ font-isas-misc \ supervisor \ mysql-client \ chromium \ - ttf-freefont + tzdata \ + ttf-freefont \ + ttf-dejavu RUN install-php-extensions \ bcmath \