Skip to content

Commit

Permalink
Merge pull request #581 from chaseSpace/master
Browse files Browse the repository at this point in the history
build: add Chinese font pkg support
  • Loading branch information
turbo124 authored Jun 6, 2024
2 parents 84a6637 + 4a3d878 commit a874ceb
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 a874ceb

Please sign in to comment.