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

php worker horizon support gd ext.
This commit is contained in:
Shao Yu-Lung (Allen) authored and GitHub committed 2020-02-24 17:32:52 +08:00
commit 33828f81bf
4 files changed
+18

No files matched your search

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