build: add Chinese font pkg support

Signed-off-by: Leigg <34116031+chaseSpace@users.noreply.github.com>
This commit is contained in:
Leigg
2024-06-06 09:44:17 +08:00
committed by GitHub
parent 84a6637f80
commit 4a3d8783d4

View File

@@ -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 \