Skip to content

Commit

Permalink
build: add Chinese font pkg support
Browse files Browse the repository at this point in the history
Signed-off-by: Leigg <[email protected]>
  • Loading branch information
chaseSpace authored Jun 6, 2024
1 parent 84a6637 commit 4a3d878
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion alpine/5/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 4a3d878

Please sign in to comment.