Merge pull request #2490 from vlauciani/master
YAML extension for laravel-horizon
This commit is contained in:
commit
ac417f2e6b
@ -287,6 +287,7 @@ services:
|
|||||||
- INSTALL_BCMATH=${PHP_FPM_INSTALL_BCMATH}
|
- INSTALL_BCMATH=${PHP_FPM_INSTALL_BCMATH}
|
||||||
- INSTALL_MEMCACHED=${PHP_FPM_INSTALL_MEMCACHED}
|
- INSTALL_MEMCACHED=${PHP_FPM_INSTALL_MEMCACHED}
|
||||||
- INSTALL_SOCKETS=${LARAVEL_HORIZON_INSTALL_SOCKETS}
|
- INSTALL_SOCKETS=${LARAVEL_HORIZON_INSTALL_SOCKETS}
|
||||||
|
- INSTALL_YAML=${LARAVEL_HORIZON_INSTALL_YAML}
|
||||||
- INSTALL_CASSANDRA=${PHP_FPM_INSTALL_CASSANDRA}
|
- INSTALL_CASSANDRA=${PHP_FPM_INSTALL_CASSANDRA}
|
||||||
- INSTALL_PHPREDIS=${LARAVEL_HORIZON_INSTALL_PHPREDIS}
|
- INSTALL_PHPREDIS=${LARAVEL_HORIZON_INSTALL_PHPREDIS}
|
||||||
- INSTALL_MONGO=${LARAVEL_HORIZON_INSTALL_MONGO}
|
- INSTALL_MONGO=${LARAVEL_HORIZON_INSTALL_MONGO}
|
||||||
|
@ -251,6 +251,7 @@ NGINX_SSL_PATH=./nginx/ssl/
|
|||||||
### LARAVEL_HORIZON ################################################
|
### LARAVEL_HORIZON ################################################
|
||||||
|
|
||||||
LARAVEL_HORIZON_INSTALL_SOCKETS=false
|
LARAVEL_HORIZON_INSTALL_SOCKETS=false
|
||||||
|
LARAVEL_HORIZON_INSTALL_YAML=false
|
||||||
LARAVEL_HORIZON_INSTALL_PHPREDIS=true
|
LARAVEL_HORIZON_INSTALL_PHPREDIS=true
|
||||||
LARAVEL_HORIZON_INSTALL_MONGO=false
|
LARAVEL_HORIZON_INSTALL_MONGO=false
|
||||||
LARAVEL_HORIZON_INSTALL_FFMPEG=false
|
LARAVEL_HORIZON_INSTALL_FFMPEG=false
|
||||||
|
@ -105,6 +105,24 @@ RUN if [ ${INSTALL_MONGO} = true ]; then \
|
|||||||
&& docker-php-ext-enable mongodb \
|
&& docker-php-ext-enable mongodb \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
|
###########################################################################
|
||||||
|
# YAML: extension
|
||||||
|
###########################################################################
|
||||||
|
|
||||||
|
ARG INSTALL_YAML=false
|
||||||
|
|
||||||
|
RUN if [ ${INSTALL_YAML} = true ]; then \
|
||||||
|
apk --update add -U --no-cache --virtual temp yaml-dev \
|
||||||
|
&& apk add --no-cache yaml \
|
||||||
|
&& docker-php-source extract \
|
||||||
|
&& pecl channel-update pecl.php.net \
|
||||||
|
&& pecl install yaml \
|
||||||
|
&& docker-php-ext-enable yaml \
|
||||||
|
&& pecl clear-cache \
|
||||||
|
&& docker-php-source delete \
|
||||||
|
&& apk del temp \
|
||||||
|
;fi
|
||||||
|
|
||||||
|
|
||||||
###########################################################################
|
###########################################################################
|
||||||
# PHP Memcached:
|
# PHP Memcached:
|
||||||
|
Loading…
Reference in New Issue
Block a user