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 authored and Shao Yu-Lung (Allen) committed 2019-07-30 12:48:24 +08:00
1 parent 51c6d3549c
commit 2e928a4928
3 files changed
+7 -3

No files matched your search

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