php worker horizon support gd ext.

This commit is contained in:
Shao Yu Lung
2020-02-24 13:53:54 +08:00
parent 6a92eb0d58
commit 18ca604537
4 changed files with 18 additions and 0 deletions

View File

@ -53,6 +53,13 @@ RUN if [ ${INSTALL_BZ2} = true ]; then \
docker-php-ext-install bz2 \
;fi
#Install GD package:
ARG INSTALL_GD=false
RUN if [ ${INSTALL_GD} = true ]; then \
apk add --update --no-cache libpng-dev; \
docker-php-ext-install gd \
;fi
#Install GMP package:
ARG INSTALL_GMP=false
RUN if [ ${INSTALL_GMP} = true ]; then \