Merge pull request #2516 from laradock/php-gd-ext
php worker horizon support gd ext.
This commit is contained in:
commit
33828f81bf
@ -266,6 +266,7 @@ services:
|
|||||||
- LARADOCK_PHP_VERSION=${PHP_VERSION}
|
- LARADOCK_PHP_VERSION=${PHP_VERSION}
|
||||||
- PHALCON_VERSION=${PHALCON_VERSION}
|
- PHALCON_VERSION=${PHALCON_VERSION}
|
||||||
- INSTALL_BZ2=${PHP_WORKER_INSTALL_BZ2}
|
- INSTALL_BZ2=${PHP_WORKER_INSTALL_BZ2}
|
||||||
|
- INSTALL_GD=${PHP_WORKER_INSTALL_GD}
|
||||||
- INSTALL_GMP=${PHP_WORKER_INSTALL_GMP}
|
- INSTALL_GMP=${PHP_WORKER_INSTALL_GMP}
|
||||||
- INSTALL_PGSQL=${PHP_WORKER_INSTALL_PGSQL}
|
- INSTALL_PGSQL=${PHP_WORKER_INSTALL_PGSQL}
|
||||||
- INSTALL_BCMATH=${PHP_WORKER_INSTALL_BCMATH}
|
- INSTALL_BCMATH=${PHP_WORKER_INSTALL_BCMATH}
|
||||||
@ -300,6 +301,7 @@ services:
|
|||||||
- CHANGE_SOURCE=${CHANGE_SOURCE}
|
- CHANGE_SOURCE=${CHANGE_SOURCE}
|
||||||
- LARADOCK_PHP_VERSION=${PHP_VERSION}
|
- LARADOCK_PHP_VERSION=${PHP_VERSION}
|
||||||
- INSTALL_BZ2=${LARAVEL_HORIZON_INSTALL_BZ2}
|
- INSTALL_BZ2=${LARAVEL_HORIZON_INSTALL_BZ2}
|
||||||
|
- INSTALL_GD=${LARAVEL_HORIZON_INSTALL_GD}
|
||||||
- INSTALL_GMP=${LARAVEL_HORIZON_INSTALL_GMP}
|
- INSTALL_GMP=${LARAVEL_HORIZON_INSTALL_GMP}
|
||||||
- INSTALL_PGSQL=${PHP_FPM_INSTALL_PGSQL}
|
- INSTALL_PGSQL=${PHP_FPM_INSTALL_PGSQL}
|
||||||
- INSTALL_ZIP_ARCHIVE=${LARAVEL_HORIZON_INSTALL_ZIP_ARCHIVE}
|
- INSTALL_ZIP_ARCHIVE=${LARAVEL_HORIZON_INSTALL_ZIP_ARCHIVE}
|
||||||
|
@ -227,6 +227,7 @@ PHP_FPM_PGID=1000
|
|||||||
### PHP_WORKER ############################################
|
### PHP_WORKER ############################################
|
||||||
|
|
||||||
PHP_WORKER_INSTALL_BZ2=false
|
PHP_WORKER_INSTALL_BZ2=false
|
||||||
|
PHP_WORKER_INSTALL_GD=false
|
||||||
PHP_WORKER_INSTALL_GMP=false
|
PHP_WORKER_INSTALL_GMP=false
|
||||||
PHP_WORKER_INSTALL_PGSQL=false
|
PHP_WORKER_INSTALL_PGSQL=false
|
||||||
PHP_WORKER_INSTALL_BCMATH=false
|
PHP_WORKER_INSTALL_BCMATH=false
|
||||||
@ -259,6 +260,7 @@ NGINX_SSL_PATH=./nginx/ssl/
|
|||||||
### LARAVEL_HORIZON ################################################
|
### LARAVEL_HORIZON ################################################
|
||||||
|
|
||||||
LARAVEL_HORIZON_INSTALL_BZ2=false
|
LARAVEL_HORIZON_INSTALL_BZ2=false
|
||||||
|
LARAVEL_HORIZON_INSTALL_GD=false
|
||||||
LARAVEL_HORIZON_INSTALL_GMP=false
|
LARAVEL_HORIZON_INSTALL_GMP=false
|
||||||
LARAVEL_HORIZON_INSTALL_SOCKETS=false
|
LARAVEL_HORIZON_INSTALL_SOCKETS=false
|
||||||
LARAVEL_HORIZON_INSTALL_YAML=false
|
LARAVEL_HORIZON_INSTALL_YAML=false
|
||||||
|
@ -53,6 +53,13 @@ RUN if [ ${INSTALL_BZ2} = true ]; then \
|
|||||||
docker-php-ext-install bz2 \
|
docker-php-ext-install bz2 \
|
||||||
;fi
|
;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:
|
#Install GMP package:
|
||||||
ARG INSTALL_GMP=false
|
ARG INSTALL_GMP=false
|
||||||
RUN if [ ${INSTALL_GMP} = true ]; then \
|
RUN if [ ${INSTALL_GMP} = true ]; then \
|
||||||
|
@ -53,6 +53,13 @@ RUN if [ ${INSTALL_BZ2} = true ]; then \
|
|||||||
docker-php-ext-install bz2; \
|
docker-php-ext-install bz2; \
|
||||||
fi
|
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:
|
#Install GMP package:
|
||||||
ARG INSTALL_GMP=false
|
ARG INSTALL_GMP=false
|
||||||
RUN if [ ${INSTALL_GMP} = true ]; then \
|
RUN if [ ${INSTALL_GMP} = true ]; then \
|
||||||
|
Loading…
Reference in New Issue
Block a user