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:
Valentino Lauciani
2019-07-30 06:48:24 +02:00
committed by Shao Yu-Lung (Allen)
parent 51c6d3549c
commit 2e928a4928
3 changed files with 7 additions and 3 deletions

View File

@ -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