Merge pull request #2516 from laradock/php-gd-ext

php worker horizon support gd ext.
This commit is contained in:
Shao Yu-Lung (Allen)
2020-02-24 17:32:52 +08:00
committed by GitHub
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 \