laravel-horizon: Install 'sockets' without install 'AMQP` (#2211)
* Add LARAVEL_HORIZON_INSTALL_SOCKETS variable. Issue #2209 * Get LARAVEL_HORIZON_INSTALL_SOCKETS from .env. Issue #2209 * Get INSTALL_SOCKETS variable and install 'sockets' ext. Issue #2209
This commit is contained in:

committed by
Shao Yu-Lung (Allen)

parent
51c6d3549c
commit
2e928a4928
@ -33,8 +33,8 @@ RUN if [ ${INSTALL_BCMATH} = true ]; then \
|
||||
;fi
|
||||
|
||||
#Install Sockets package:
|
||||
ARG INSTALL_AMQP=false
|
||||
RUN if [ ${INSTALL_AMQP} = true ]; then \
|
||||
ARG INSTALL_SOCKETS=false
|
||||
RUN if [ ${INSTALL_SOCKETS} = true ]; then \
|
||||
docker-php-ext-install sockets \
|
||||
;fi
|
||||
|
||||
|
Reference in New Issue
Block a user